metadata title
[lhc/web/wiklou.git] / languages / Language.php
1 <?php
2 if( defined( 'MEDIAWIKI' ) ) {
3
4 #
5 # In general you should not make customizations in these language files
6 # directly, but should use the MediaWiki: special namespace to customize
7 # user interface messages through the wiki.
8 # See http://meta.wikipedia.org/wiki/MediaWiki_namespace
9 #
10 # NOTE TO TRANSLATORS: Do not copy this whole file when making translations!
11 # A lot of common constants and a base class with inheritable methods are
12 # defined here, which should not be redefined. See the other LanguageXx.php
13 # files for examples.
14 #
15
16 #--------------------------------------------------------------------------
17 # Language-specific text
18 #--------------------------------------------------------------------------
19
20 # The names of the namespaces can be set here, but the numbers
21 # are magical, so don't change or move them! The Namespace class
22 # encapsulates some of the magic-ness.
23 #
24
25 if($wgMetaNamespace === FALSE)
26 $wgMetaNamespace = str_replace( ' ', '_', $wgSitename );
27
28 /* private */ $wgNamespaceNamesEn = array(
29 NS_MEDIA => 'Media',
30 NS_SPECIAL => 'Special',
31 NS_MAIN => '',
32 NS_TALK => 'Talk',
33 NS_USER => 'User',
34 NS_USER_TALK => 'User_talk',
35 NS_PROJECT => $wgMetaNamespace,
36 NS_PROJECT_TALK => $wgMetaNamespace . '_talk',
37 NS_IMAGE => 'Image',
38 NS_IMAGE_TALK => 'Image_talk',
39 NS_MEDIAWIKI => 'MediaWiki',
40 NS_MEDIAWIKI_TALK => 'MediaWiki_talk',
41 NS_TEMPLATE => 'Template',
42 NS_TEMPLATE_TALK => 'Template_talk',
43 NS_HELP => 'Help',
44 NS_HELP_TALK => 'Help_talk',
45 NS_CATEGORY => 'Category',
46 NS_CATEGORY_TALK => 'Category_talk'
47 );
48
49 if(isset($wgExtraNamespaces)) {
50 $wgNamespaceNamesEn=$wgNamespaceNamesEn+$wgExtraNamespaces;
51 }
52
53 /* private */ $wgDefaultUserOptionsEn = array(
54 'quickbar' => 1,
55 'underline' => 1,
56 'hover' => 1,
57 'cols' => 80,
58 'rows' => 25,
59 'searchlimit' => 20,
60 'contextlines' => 5,
61 'contextchars' => 50,
62 'skin' => $wgDefaultSkin,
63 'math' => 1,
64 'rcdays' => 7,
65 'rclimit' => 50,
66 'highlightbroken' => 1,
67 'stubthreshold' => 0,
68 'previewontop' => 1,
69 'editsection' => 1,
70 'editsectiononrightclick'=> 0,
71 'showtoc' => 1,
72 'showtoolbar' => 1,
73 'date' => 0,
74 'imagesize' => 2,
75 'rememberpassword' => 0,
76 'enotifwatchlistpages' => 1,
77 'enotifusertalkpages' => 1,
78 'enotifminoredits' => 0,
79 'enotifrevealaddr' => 0,
80 'shownumberswatching' => 1,
81 'rcusemodstyle' => 1,
82 'showupdated' => 1,
83 'fancysig' => 0,
84 );
85
86 /* private */ $wgQuickbarSettingsEn = array(
87 'None', 'Fixed left', 'Fixed right', 'Floating left'
88 );
89
90 /* private */ $wgSkinNamesEn = array(
91 'standard' => 'Classic',
92 'nostalgia' => 'Nostalgia',
93 'cologneblue' => 'Cologne Blue',
94 'davinci' => 'DaVinci',
95 'mono' => 'Mono',
96 'monobook' => 'MonoBook',
97 'myskin' => 'MySkin',
98 'chick' => 'Chick'
99 );
100
101 # Validation types
102 $wgValidationTypesEn = array (
103 '0' => "Style|Awful|Awesome|5",
104 '1' => "Legal|Illegal|Legal|5",
105 '2' => "Completeness|Stub|Extensive|5",
106 '3' => "Facts|Wild guesses|Solid as a rock|5",
107 '4' => "Suitable for 1.0 (paper)|No|Yes|2",
108 '5' => "Suitable for 1.0 (CD)|No|Yes|2"
109 );
110
111 /* private */ $wgMathNamesEn = array(
112 MW_MATH_PNG => 'mw_math_png',
113 MW_MATH_SIMPLE => 'mw_math_simple',
114 MW_MATH_HTML => 'mw_math_html',
115 MW_MATH_SOURCE => 'mw_math_source',
116 MW_MATH_MODERN => 'mw_math_modern',
117 MW_MATH_MATHML => 'mw_math_mathml'
118 );
119
120 # Whether to use user or default setting in Language::date()
121 define( 'MW_DATE_DEFAULT', false );
122 define( 'MW_DATE_USER_FORMAT', true );
123
124 /* private */ $wgDateFormatsEn = array(
125 'No preference',
126 'January 15, 2001',
127 '15 January 2001',
128 '2001 January 15',
129 '2001-01-15'
130 );
131
132 /* private */ $wgUserTogglesEn = array(
133 'hover',
134 'underline',
135 'highlightbroken',
136 'justify',
137 'hideminor',
138 'usenewrc',
139 'numberheadings',
140 'showtoolbar',
141 'editondblclick',
142 'editsection',
143 'editsectiononrightclick',
144 'showtoc',
145 'rememberpassword',
146 'editwidth',
147 'watchdefault',
148 'minordefault',
149 'previewontop',
150 'previewonfirst',
151 'nocache',
152 'enotifwatchlistpages',
153 'enotifusertalkpages',
154 'enotifminoredits',
155 'enotifrevealaddr',
156 'shownumberswatching',
157 'rcusemodstyle',
158 'showupdated',
159 'fancysig'
160 );
161
162 /* private */ $wgBookstoreListEn = array(
163 'AddALL' => 'http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN',
164 'PriceSCAN' => 'http://www.pricescan.com/books/bookDetail.asp?isbn=$1',
165 'Barnes & Noble' => 'http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1',
166 'Amazon.com' => 'http://www.amazon.com/exec/obidos/ISBN=$1'
167 );
168
169 # Read language names
170 global $wgLanguageNames;
171 require_once( 'Names.php' );
172
173 $wgLanguageNamesEn =& $wgLanguageNames;
174
175
176 /* private */ $wgWeekdayNamesEn = array(
177 'sunday', 'monday', 'tuesday', 'wednesday', 'thursday',
178 'friday', 'saturday'
179 );
180
181
182 /* private */ $wgMonthNamesEn = array(
183 'january', 'february', 'march', 'april', 'may_long', 'june',
184 'july', 'august', 'september', 'october', 'november',
185 'december'
186 );
187 /* private */ $wgMonthNamesGenEn = array(
188 'january-gen', 'february-gen', 'march-gen', 'april-gen', 'may-gen', 'june-gen',
189 'july-gen', 'august-gen', 'september-gen', 'october-gen', 'november-gen',
190 'december-gen'
191 );
192
193 /* private */ $wgMonthAbbreviationsEn = array(
194 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug',
195 'sep', 'oct', 'nov', 'dec'
196 );
197
198 # Note to translators:
199 # Please include the English words as synonyms. This allows people
200 # from other wikis to contribute more easily.
201 #
202 /* private */ $wgMagicWordsEn = array(
203 # ID CASE SYNONYMS
204 MAG_REDIRECT => array( 0, '#redirect' ),
205 MAG_NOTOC => array( 0, '__NOTOC__' ),
206 MAG_FORCETOC => array( 0, '__FORCETOC__' ),
207 MAG_TOC => array( 0, '__TOC__' ),
208 MAG_NOEDITSECTION => array( 0, '__NOEDITSECTION__' ),
209 MAG_START => array( 0, '__START__' ),
210 MAG_CURRENTMONTH => array( 1, 'CURRENTMONTH' ),
211 MAG_CURRENTMONTHNAME => array( 1, 'CURRENTMONTHNAME' ),
212 MAG_CURRENTDAY => array( 1, 'CURRENTDAY' ),
213 MAG_CURRENTDAYNAME => array( 1, 'CURRENTDAYNAME' ),
214 MAG_CURRENTYEAR => array( 1, 'CURRENTYEAR' ),
215 MAG_CURRENTTIME => array( 1, 'CURRENTTIME' ),
216 MAG_NUMBEROFARTICLES => array( 1, 'NUMBEROFARTICLES' ),
217 MAG_CURRENTMONTHNAMEGEN => array( 1, 'CURRENTMONTHNAMEGEN' ),
218 MAG_PAGENAME => array( 1, 'PAGENAME' ),
219 MAG_PAGENAMEE => array( 1, 'PAGENAMEE' ),
220 MAG_NAMESPACE => array( 1, 'NAMESPACE' ),
221 MAG_MSG => array( 0, 'MSG:' ),
222 MAG_SUBST => array( 0, 'SUBST:' ),
223 MAG_MSGNW => array( 0, 'MSGNW:' ),
224 MAG_END => array( 0, '__END__' ),
225 MAG_IMG_THUMBNAIL => array( 1, 'thumbnail', 'thumb' ),
226 MAG_IMG_RIGHT => array( 1, 'right' ),
227 MAG_IMG_LEFT => array( 1, 'left' ),
228 MAG_IMG_NONE => array( 1, 'none' ),
229 MAG_IMG_WIDTH => array( 1, '$1px' ),
230 MAG_IMG_CENTER => array( 1, 'center', 'centre' ),
231 MAG_IMG_FRAMED => array( 1, 'framed', 'enframed', 'frame' ),
232 MAG_INT => array( 0, 'INT:' ),
233 MAG_SITENAME => array( 1, 'SITENAME' ),
234 MAG_NS => array( 0, 'NS:' ),
235 MAG_LOCALURL => array( 0, 'LOCALURL:' ),
236 MAG_LOCALURLE => array( 0, 'LOCALURLE:' ),
237 MAG_SERVER => array( 0, 'SERVER' ),
238 MAG_GRAMMAR => array( 0, 'GRAMMAR:' ),
239 MAG_NOTITLECONVERT => array( 0, '__NOTITLECONVERT__', '__NOTC__'),
240 );
241
242 #-------------------------------------------------------------------
243 # Default messages
244 #-------------------------------------------------------------------
245 # Allowed characters in keys are: A-Z, a-z, 0-9, underscore (_) and
246 # hyphen (-). If you need more characters, you may be able to change
247 # the regex in MagicWord::initRegex
248
249 # required for copyrightwarning
250 global $wgRightsText;
251
252 /* private */ $wgAllMessagesEn = array(
253 'special_version_prefix' => '&nbsp;',
254 'special_version_postfix' => '&nbsp;',
255 # User preference toggles
256 'tog-hover' => 'Show hoverbox over wiki links',
257 'tog-underline' => 'Underline links',
258 'tog-highlightbroken' => 'Format broken links <a href="" class="new">like this</a> (alternative: like this<a href="" class="internal">?</a>).',
259 'tog-justify' => 'Justify paragraphs',
260 'tog-hideminor' => 'Hide minor edits in recent changes',
261 'tog-usenewrc' => 'Enhanced recent changes (not for all browsers)',
262 'tog-numberheadings' => 'Auto-number headings',
263 'tog-showtoolbar' => 'Show edit toolbar',
264 'tog-editondblclick' => 'Edit pages on double click (JavaScript)',
265 'tog-editsection' => 'Enable section editing via [edit] links',
266 'tog-editsectiononrightclick' => 'Enable section editing by right clicking<br /> on section titles (JavaScript)',
267 'tog-showtoc' => 'Show table of contents<br />(for pages with more than 3 headings)',
268 'tog-rememberpassword' => 'Remember password across sessions',
269 'tog-editwidth' => 'Edit box has full width',
270 'tog-watchdefault' => 'Add pages you edit to your watchlist',
271 'tog-minordefault' => 'Mark all edits minor by default',
272 'tog-previewontop' => 'Show preview before edit box and not after it',
273 'tog-previewonfirst' => 'Show preview on first edit',
274 'tog-nocache' => 'Disable page caching',
275 'tog-enotifwatchlistpages' => 'Send me an email on page changes (remark: existing notification flags need to be cleared manually in the watchlist)',
276 'tog-enotifusertalkpages' => 'Send me an email when my user talk page is changed (remark: existing notification flags need to be cleared manually in the watchlist)',
277 'tog-enotifminoredits' => 'Send me an email also for minor edits of pages (which usually do not trigger notification mails)',
278 'tog-enotifrevealaddr' => 'Reveal my email address in notification mails (when I change a page, it allows watching users to reply quickly to me)',
279 'tog-shownumberswatching' => 'Show the number of watching users (in recent changes view, watchlist and article page footers)',
280 'tog-rcusemodstyle' => 'Show recent changes in UseMod style: only the most recent change of any page is listed.',
281 'tog-showupdated' => 'Show update marker ',
282 'tog-fancysig' => 'Raw signatures (without automatic link)',
283
284 # dates
285 'sunday' => 'Sunday',
286 'monday' => 'Monday',
287 'tuesday' => 'Tuesday',
288 'wednesday' => 'Wednesday',
289 'thursday' => 'Thursday',
290 'friday' => 'Friday',
291 'saturday' => 'Saturday',
292 'january' => 'January',
293 'february' => 'February',
294 'march' => 'March',
295 'april' => 'April',
296 'may_long' => 'May',
297 'june' => 'June',
298 'july' => 'July',
299 'august' => 'August',
300 'september' => 'September',
301 'october' => 'October',
302 'november' => 'November',
303 'december' => 'December',
304 'jan' => 'Jan',
305 'feb' => 'Feb',
306 'mar' => 'Mar',
307 'apr' => 'Apr',
308 'may' => 'May',
309 'jun' => 'Jun',
310 'jul' => 'Jul',
311 'aug' => 'Aug',
312 'sep' => 'Sep',
313 'oct' => 'Oct',
314 'nov' => 'Nov',
315 'dec' => 'Dec',
316 # Bits of text used by many pages:
317 #
318 'categories' => 'Categories',
319 'category' => 'category',
320 'category_header' => 'Articles in category "$1"',
321 'subcategories' => 'Subcategories',
322
323
324 'linktrail' => '/^([a-z]+)(.*)$/sD',
325 'mainpage' => 'Main Page',
326 'mainpagetext' => 'Wiki software successfully installed.',
327 "mainpagedocfooter" => "Please see [http://meta.wikipedia.org/wiki/MediaWiki_i18n documentation on customizing the interface]
328 and the [http://meta.wikipedia.org/wiki/MediaWiki_User%27s_Guide User's Guide] for usage and configuration help.",
329
330 # NOTE: To turn off "Community portal" in the title links,
331 # set "portal" => "-"
332
333 'portal' => 'Community portal',
334 'portal-url' => 'Project:Community Portal',
335 'about' => 'About',
336 "aboutsite" => "About {{SITENAME}}",
337 "aboutpage" => "Project:About",
338 'article' => 'Content page',
339 'help' => 'Help',
340 "helppage" => "Help:Contents",
341 "wikititlesuffix" => "{{SITENAME}}",
342 "bugreports" => "Bug reports",
343 "bugreportspage" => "Project:Bug_reports",
344 'sitesupport' => '-', # To enable, something like 'Donations',
345 'sitesupport-url' => 'Project:Site support',
346 'faq' => 'FAQ',
347 "faqpage" => "Project:FAQ",
348 "edithelp" => "Editing help",
349 "newwindow" => "(opens in new window)",
350 "edithelppage" => "Help:Editing",
351 'cancel' => 'Cancel',
352 'qbfind' => 'Find',
353 'qbbrowse' => 'Browse',
354 'qbedit' => 'Edit',
355 'qbpageoptions' => 'This page',
356 'qbpageinfo' => 'Context',
357 'qbmyoptions' => 'My pages',
358 'qbspecialpages' => 'Special pages',
359 'moredotdotdot' => 'More...',
360 'mypage' => 'My page',
361 'mytalk' => 'My talk',
362 'anontalk' => 'Talk for this IP',
363 'navigation' => 'Navigation',
364
365 # Metadata in edit box
366 'metadata' => '<b>Metadata</b> (for an explanation see <a href="$1">here</a>)',
367 'metadata_page' => 'Wikipedia:Metadata',
368
369 # NOTE: To turn off "Current Events" in the sidebar,
370 # set "currentevents" => "-"
371
372 'currentevents' => 'Current events',
373 'currentevents-url' => 'Current events',
374
375 # NOTE: To turn off "Disclaimers" in the title links,
376 # set "disclaimers" => "-"
377
378 'disclaimers' => 'Disclaimers',
379 "disclaimerpage" => "Project:General_disclaimer",
380 "errorpagetitle" => "Error",
381 "returnto" => "Return to $1.",
382 "tagline" => "From {{SITENAME}}",
383 'whatlinkshere' => 'Pages that link here',
384 'help' => 'Help',
385 'search' => 'Search',
386 'go' => 'Go',
387 "history" => 'Page history',
388 'history_short' => 'History',
389 'info_short' => 'Information',
390 'printableversion' => 'Printable version',
391 'edit' => 'Edit',
392 'editthispage' => 'Edit this page',
393 'delete' => 'Delete',
394 "deletethispage" => "Delete this page",
395 "undelete_short" => "Undelete $1 edits",
396 'protect' => 'Protect',
397 'protectthispage' => 'Protect this page',
398 'unprotect' => 'Unprotect',
399 'unprotectthispage' => 'Unprotect this page',
400 'newpage' => 'New page',
401 'talkpage' => 'Discuss this page',
402 'specialpage' => 'Special Page',
403 'personaltools' => 'Personal tools',
404 'postcomment' => 'Post a comment',
405 'addsection' => '+',
406 'articlepage' => 'View content page',
407 'subjectpage' => 'View subject', # For compatibility
408 'talk' => 'Discussion',
409 'toolbox' => 'Toolbox',
410 'userpage' => 'View user page',
411 'wikipediapage' => 'View project page',
412 'imagepage' => 'View image page',
413 'viewtalkpage' => 'View discussion',
414 'otherlanguages' => 'Other languages',
415 'redirectedfrom' => '(Redirected from $1)',
416 'lastmodified' => 'This page was last modified $1.',
417 'viewcount' => 'This page has been accessed $1 times.',
418 'copyright' => 'Content is available under $1.',
419 'poweredby' => "{{SITENAME}} is powered by [http://www.mediawiki.org/ MediaWiki], an open source wiki engine.",
420 'printsubtitle' => "(From {{SERVER}})",
421 'protectedpage' => 'Protected page',
422 'administrators' => "Project:Administrators",
423 'sysoptitle' => 'Sysop access required',
424 'sysoptext' => "The action you have requested can only be
425 performed by users with \"sysop\" status.
426 See $1.",
427 'developertitle' => 'Developer access required',
428 "developertext" => "The action you have requested can only be
429 performed by users with \"developer\" status.
430 See $1.",
431 'bureaucrattitle' => 'Bureaucrat access required',
432 "bureaucrattext" => "The action you have requested can only be
433 performed by sysops with \"bureaucrat\" status.",
434 'nbytes' => '$1 bytes',
435 'go' => 'Go',
436 'ok' => 'OK',
437 'sitetitle' => "{{SITENAME}}",
438 'pagetitle' => "$1 - {{SITENAME}}",
439 'sitesubtitle' => 'The Free Encyclopedia', # FIXME
440 'retrievedfrom' => "Retrieved from \"$1\"",
441 'newmessages' => "You have $1.",
442 'newmessageslink' => 'new messages',
443 'editsection'=>'edit',
444 'toc' => 'Table of contents',
445 'showtoc' => 'show',
446 'hidetoc' => 'hide',
447 'thisisdeleted' => "View or restore $1?",
448 'restorelink' => "$1 deleted edits",
449 'feedlinks' => 'Feed:',
450 'sitenotice' => '', # the equivalent to wgSiteNotice
451
452 # Short words for each namespace, by default used in the 'article' tab in monobook
453 'nstab-main' => 'Article',
454 'nstab-user' => 'User page',
455 'nstab-media' => 'Media',
456 'nstab-special' => 'Special',
457 'nstab-wp' => 'About',
458 'nstab-image' => 'Image',
459 'nstab-mediawiki' => 'Message',
460 'nstab-template' => 'Template',
461 'nstab-help' => 'Help',
462 'nstab-category' => 'Category',
463
464 # Main script and global functions
465 #
466 'nosuchaction' => 'No such action',
467 'nosuchactiontext' => 'The action specified by the URL is not
468 recognized by the wiki',
469 'nosuchspecialpage' => 'No such special page',
470 'nospecialpagetext' => 'You have requested a special page that is not
471 recognized by the wiki.',
472
473 # General errors
474 #
475 'error' => 'Error',
476 'databaseerror' => 'Database error',
477 'dberrortext' => "A database query syntax error has occurred.
478 This may indicate a bug in the software.
479 The last attempted database query was:
480 <blockquote><tt>$1</tt></blockquote>
481 from within function \"<tt>$2</tt>\".
482 MySQL returned error \"<tt>$3: $4</tt>\".",
483 'dberrortextcl' => "A database query syntax error has occurred.
484 The last attempted database query was:
485 \"$1\"
486 from within function \"$2\".
487 MySQL returned error \"$3: $4\".\n",
488 'noconnect' => 'Sorry! The wiki is experiencing some technical difficulties, and cannot contact the database server. <br />
489 $1',
490 'nodb' => "Could not select database $1",
491 'cachederror' => 'The following is a cached copy of the requested page, and may not be up to date.',
492 'readonly' => 'Database locked',
493 'enterlockreason' => 'Enter a reason for the lock, including an estimate
494 of when the lock will be released',
495 'readonlytext' => "The database is currently locked to new
496 entries and other modifications, probably for routine database maintenance,
497 after which it will be back to normal.
498 The administrator who locked it offered this explanation:
499 <p>$1",
500 'missingarticle' => "The database did not find the text of a page
501 that it should have found, named \"$1\".
502
503 <p>This is usually caused by following an outdated diff or history link to a
504 page that has been deleted.
505
506 <p>If this is not the case, you may have found a bug in the software.
507 Please report this to an administrator, making note of the URL.",
508 'internalerror' => 'Internal error',
509 'filecopyerror' => "Could not copy file \"$1\" to \"$2\".",
510 'filerenameerror' => "Could not rename file \"$1\" to \"$2\".",
511 'filedeleteerror' => "Could not delete file \"$1\".",
512 'filenotfound' => "Could not find file \"$1\".",
513 'unexpected' => "Unexpected value: \"$1\"=\"$2\".",
514 'formerror' => 'Error: could not submit form',
515 'badarticleerror' => 'This action cannot be performed on this page.',
516 'cannotdelete' => 'Could not delete the page or image specified. (It may have already been deleted by someone else.)',
517 'badtitle' => 'Bad title',
518 'badtitletext' => "The requested page title was invalid, empty, or
519 an incorrectly linked inter-language or inter-wiki title.",
520 'perfdisabled' => 'Sorry! This feature has been temporarily disabled
521 because it slows the database down to the point that no one can use
522 the wiki.',
523 'perfdisabledsub' => "Here's a saved copy from $1:", # obsolete?
524 'perfcached' => 'The following data is cached and may not be completely up to date:',
525 'wrong_wfQuery_params' => "Incorrect parameters to wfQuery()<br />
526 Function: $1<br />
527 Query: $2
528 ",
529 'viewsource' => 'View source',
530 'protectedtext' => "This page has been locked to prevent editing; there are
531 a number of reasons why this may be so, please see
532 [[Project:Protected page]].
533
534 You can view and copy the source of this page:",
535 'seriousxhtmlerrors' => 'There were serious xhtml markup errors detected by tidy.',
536
537 # Login and logout pages
538 #
539 "logouttitle" => 'User logout',
540 "logouttext" => "You are now logged out.<br>
541 You can continue to use {{SITENAME}} anonymously, or you can log in
542 again as the same or as a different user. Note that some pages may
543 continue to be displayed as if you were still logged in, until you clear
544 your browser cache.\n",
545
546 'welcomecreation' => "== Welcome, $1! ==
547
548 Your account has been created. Don't forget to change your {{SITENAME}} preferences.",
549
550 'loginpagetitle' => 'User login',
551 'yourname' => 'Your user name',
552 'yourpassword' => 'Your password',
553 'yourpasswordagain' => 'Retype password',
554 'newusersonly' => ' (new users only)',
555 'remembermypassword' => 'Remember my password across sessions.',
556 'loginproblem' => '<b>There has been a problem with your login.</b><br />Try again!',
557 'alreadyloggedin' => "<font color=red><b>User $1, you are already logged in!</b></font><br />\n",
558
559 'login' => 'Log in',
560 'loginprompt' => "You must have cookies enabled to log in to {{SITENAME}}.",
561 'userlogin' => 'Create an account or log in',
562 'logout' => 'Log out',
563 'userlogout' => 'Log out',
564 'notloggedin' => 'Not logged in',
565 'createaccount' => 'Create new account',
566 'createaccountmail' => 'by email',
567 'badretype' => 'The passwords you entered do not match.',
568 'userexists' => 'The user name you entered is already in use. Please choose a different name.',
569 'youremail' => 'Your email**',
570 'yourrealname' => 'Your real name*',
571 'yourlanguage' => 'Interface language',
572 'yourvariant' => 'Language variant',
573 'yournick' => 'Your nickname (for signatures)',
574 'emailforlost' => "Fields marked with stars (*, **) are optional. Storing an email address enables people to contact you through the website without you having to reveal your
575 email address to them, and it can be used to send you a new password if you forget it.<br /><br />Your real name, if you choose to provide it, will be used for giving you attribution for your work.",
576 'prefs-help-email' => '** <strong>Email</strong> (optional): Enables others to contact you through your user or user_talk page without the need of revealing your
577 email address. It also allows the wiki to sent you a temporary password in case you forgot your current one.',
578 'prefs-help-email-enotif' => 'This address is also used to send you email notifications if you enabled the options.',
579 'prefs-help-realname' => '* <strong>Real name</strong> (optional): if you choose to provide it this will be used for giving you attribution for your work.',
580 'prefs-help-userdata' => '* <strong>Real name</strong> (optional): if you choose to provide it this will be used for giving you attribution for your work.<br />
581 * <strong>Email</strong> (optional): Enables people to contact you through the website without you having to reveal your
582 email address to them, and it can be used to send you a new password if you forget it.',
583 'loginerror' => 'Login error',
584 'nocookiesnew' => "The user account was created, but you are not logged in. {{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them, then log in with your new username and password.",
585 "nocookieslogin" => "{{SITENAME}} uses cookies to log in users. You have cookies disabled. Please enable them and try again.",
586 'noname' => 'You have not specified a valid user name.',
587 'loginsuccesstitle' => 'Login successful',
588 'loginsuccess' => "You are now logged in to {{SITENAME}} as \"$1\".",
589 'nosuchuser' => "There is no user by the name \"$1\".
590 Check your spelling, or use the form below to create a new user account.",
591 'nosuchusershort' => "There is no user by the name \"$1\". Check your spelling.",
592 'wrongpassword' => 'The password you entered is incorrect (or missing). Please try again.',
593 'mailmypassword' => 'Mail me a temporary password
594 because I forgot my password',
595 'mailmypasswordauthent' => 'Mail me a temporary password
596 because I forgot my password or
597 for authentication of my email address',
598 'passwordremindermailsubject' => "Email address authentication and temporary login password from {{SITENAME}}",
599 'passwordremindermailbody' => "Someone, probably you from IP address $1,
600 requested that we send you a temporary one-time login password for {{SITENAME}}.
601
602 This mail is also be sent for the purpose of authentication of your email address.
603 The password for user \"$2\" is now \"$4\".
604
605 You can now log in with this temporary password, which is valid for only one login.
606 You may wish to keep using your old password if you remember it or to set a new one.
607
608 {{SERVER}}{{localurl:Special:Userlogin|wpName=$3&wpPassword=$4&returnto=Special:Preferences}}",
609 'noemail' => "There is no e-mail address recorded for user \"$1\".",
610 'passwordsent' => "A temporary password has been sent to the e-mail address
611 registered for \"$1\".
612 Please log in again after you receive it.",
613 'passwordsentforemailauthentication'
614 => "A temporary password has been sent to the e-mail address newly
615 registered for \"$1\".
616 Please re-login with that for authentication purposes.",
617 'loginend' => '&nbsp;',
618 'mailerror' => "Error sending mail: $1",
619 'acct_creation_throttle_hit' => 'Sorry, you have already created $1 accounts. You can\'t make any more.',
620 'emailauthenticated' => 'Your email address was authenticated on $1.',
621 'emailnotauthenticated' => 'Your email address is <strong>not yet authenticated</strong> and the advanced email features are disabled until authentication <strong>(d.u.a.)</strong>.<br>
622 To authenticate, please login in with the temporary password which has been mailed to you, or request a new one on the login page.',
623 'invalidemailaddress' => 'The email address cannot be accepted as it appears to have an invalid format. Please enter a well-formatted address or empty that field.',
624 'disableduntilauthent' => '<strong>(d.u.a.)</strong>',
625 'disablednoemail' => '<strong>(disabled; no email address)</strong>',
626
627 # Edit page toolbar
628 'bold_sample'=>'Bold text',
629 'bold_tip'=>'Bold text',
630 'italic_sample'=>'Italic text',
631 'italic_tip'=>'Italic text',
632 'link_sample'=>'Link title',
633 'link_tip'=>'Internal link',
634 'extlink_sample'=>'http://www.example.com link title',
635 'extlink_tip'=>'External link (remember http:// prefix)',
636 'headline_sample'=>'Headline text',
637 'headline_tip'=>'Level 2 headline',
638 'math_sample'=>'Insert formula here',
639 'math_tip'=>'Mathematical formula (LaTeX)',
640 'nowiki_sample'=>'Insert non-formatted text here',
641 'nowiki_tip'=>'Ignore wiki formatting',
642 'image_sample'=>'Example.jpg',
643 'image_tip'=>'Embedded image',
644 'media_sample'=>'Example.mp3',
645 'media_tip'=>'Media file link',
646 'sig_tip'=>'Your signature with timestamp',
647 'hr_tip'=>'Horizontal line (use sparingly)',
648 'infobox'=>'Click a button to get an example text',
649 # alert box shown in browsers where text selection does not work, test e.g. with mozilla or konqueror
650 'infobox_alert'=>"Please enter the text you want to be formatted.\\n It will be shown in the infobox for copy and pasting.\\nExample:\\n$1\\nwill become:\\n$2",
651
652 # Edit pages
653 #
654 'summary' => 'Summary',
655 'subject' => 'Subject/headline',
656 'minoredit' => 'This is a minor edit.',
657 'watchthis' => 'Watch this page',
658 'savearticle' => 'Save page',
659 'preview' => 'Preview',
660 'showpreview' => 'Show preview',
661 'blockedtitle' => 'User is blocked',
662 'blockedtext' => "Your user name or IP address has been blocked by $1.
663 The reason given is this:<br />''$2''<p>You may contact $1 or one of the other
664 [[Project:Administrators|administrators]] to discuss the block.
665
666 Note that you may not use the \"email this user\" feature unless you have a valid email address registered in your [[Special:Preferences|user preferences]].
667
668 Your IP address is $3. Please include this address in any queries you make.
669 ",
670 'whitelistedittitle' => 'Login required to edit',
671 'whitelistedittext' => 'You have to [[Special:Userlogin|login]] to edit pages.',
672 'whitelistreadtitle' => 'Login required to read',
673 'whitelistreadtext' => 'You have to [[Special:Userlogin|login]] to read pages.',
674 'whitelistacctitle' => 'You are not allowed to create an account',
675 'whitelistacctext' => 'To be allowed to create accounts in this Wiki you have to [[Special:Userlogin|log]] in and have the appropriate permissions.',
676 'loginreqtitle' => 'Login Required',
677 'loginreqtext' => 'You must [[special:Userlogin|login]] to view other pages.',
678 'accmailtitle' => 'Password sent.',
679 'accmailtext' => "The Password for '$1' has been sent to $2.",
680 'newarticle' => '(New)',
681 'newarticletext' =>
682 "You've followed a link to a page that doesn't exist yet.
683 To create the page, start typing in the box below
684 (see the [[Project:Help|help page]] for more info).
685 If you are here by mistake, just click your browser's '''back''' button.",
686 'talkpagetext' => '<!-- MediaWiki:talkpagetext -->',
687 'anontalkpagetext' => "----''This is the discussion page for an anonymous user who has not created an account yet or who does not use it. We therefore have to use the numerical [[IP address]] to identify him/her. Such an IP address can be shared by several users. If you are an anonymous user and feel that irrelevant comments have been directed at you, please [[Special:Userlogin|create an account or log in]] to avoid future confusion with other anonymous users.'' ",
688 'noarticletext' => '(There is currently no text in this page)',
689 'clearyourcache' => "'''Note:''' After saving, you have to clear your browser cache to see the changes: '''Mozilla:''' click ''Reload'' (or ''Ctrl-R''), '''IE / Opera:''' ''Ctrl-F5'', '''Safari:''' ''Cmd-R'', '''Konqueror''' ''Ctrl-R''.",
690 'usercssjsyoucanpreview' => "<strong>Tip:</strong> Use the 'Show preview' button to test your new CSS/JS before saving.",
691 'usercsspreview' => "'''Remember that you are only previewing your user CSS, it has not yet been saved!'''",
692 'userjspreview' => "'''Remember that you are only testing/previewing your user JavaScript, it has not yet been saved!'''",
693 'updated' => '(Updated)',
694 'note' => '<strong>Note:</strong> ',
695 'previewnote' => 'Remember that this is only a preview, and has not yet been saved!',
696 'previewconflict' => 'This preview reflects the text in the upper
697 text editing area as it will appear if you choose to save.',
698 'editing' => "Editing $1",
699 'editingsection' => "Editing $1 (section)",
700 'editingcomment' => "Editing $1 (comment)",
701 'editconflict' => 'Edit conflict: $1',
702 'explainconflict' => "Someone else has changed this page since you
703 started editing it.
704 The upper text area contains the page text as it currently exists.
705 Your changes are shown in the lower text area.
706 You will have to merge your changes into the existing text.
707 <b>Only</b> the text in the upper text area will be saved when you
708 press \"Save page\".\n<p>",
709 'yourtext' => 'Your text',
710 'storedversion' => 'Stored version',
711 'nonunicodebrowser' => "<strong>WARNING: Your browser is not unicode compliant, please change it before editing an article.</strong>",
712 'editingold' => "<strong>WARNING: You are editing an out-of-date
713 revision of this page.
714 If you save it, any changes made since this revision will be lost.</strong>\n",
715 'yourdiff' => 'Differences',
716 'copyrightwarning' => "Please note that all contributions to {{SITENAME}} are
717 considered to be released under the $2 (see $1 for details).
718 If you don't want your writing to be edited mercilessly and redistributed
719 at will, then don't submit it here.<br />
720 You are also promising us that you wrote this yourself, or copied it from a
721 public domain or similar free resource.
722 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
723 'copyrightwarning2' => "Please note that all contributions to {{SITENAME}}
724 may be edited, altered, or removed by other contributors.
725 If you don't want your writing to be edited mercilessly, then don't submit it here.<br />
726 You are also promising us that you wrote this yourself, or copied it from a
727 public domain or similar free resource (see $1 for details).
728 <strong>DO NOT SUBMIT COPYRIGHTED WORK WITHOUT PERMISSION!</strong>",
729 'longpagewarning' => "WARNING: This page is $1 kilobytes long; some
730 browsers may have problems editing pages approaching or longer than 32kb.
731 Please consider breaking the page into smaller sections.",
732 'readonlywarning' => 'WARNING: The database has been locked for maintenance,
733 so you will not be able to save your edits right now. You may wish to cut-n-paste
734 the text into a text file and save it for later.',
735 'protectedpagewarning' => "WARNING: This page has been locked so that only
736 users with sysop privileges can edit it. Be sure you are following the
737 <a href='$wgScript/Project:Protected_page_guidelines'>protected page
738 guidelines</a>.",
739 'templatesused' => 'Templates used on this page:',
740
741 # History pages
742 #
743 'revhistory' => 'Revision history',
744 'nohistory' => 'There is no edit history for this page.',
745 'revnotfound' => 'Revision not found',
746 'revnotfoundtext' => "The old revision of the page you asked for could not be found.
747 Please check the URL you used to access this page.\n",
748 'loadhist' => 'Loading page history',
749 'currentrev' => 'Current revision',
750 'revisionasof' => 'Revision as of $1',
751 'revisionasofwithlink' => 'Revision as of $1; $2<br />$3 | $4',
752 'previousrevision' => '&larr;Older revision',
753 'nextrevision' => 'Newer revision&rarr;',
754 'currentrevisionlink' => 'view current revision',
755 'cur' => 'cur',
756 'next' => 'next',
757 'last' => 'last',
758 'orig' => 'orig',
759 'histlegend' => 'Diff selection: mark the radio boxes of the versions to compare and hit enter or the button at the bottom.<br />
760 Legend: (cur) = difference with current version,
761 (last) = difference with preceding version, M = minor edit.',
762 'history_copyright' => '-',
763
764 # Diffs
765 #
766 'difference' => '(Difference between revisions)',
767 'loadingrev' => 'loading revision for diff',
768 'lineno' => "Line $1:",
769 'editcurrent' => 'Edit the current version of this page',
770 'selectnewerversionfordiff' => 'Select a newer version for comparison',
771 'selectolderversionfordiff' => 'Select an older version for comparison',
772 'compareselectedversions' => 'Compare selected versions',
773
774 # Search results
775 #
776 'searchresults' => 'Search results',
777 'searchresulttext' => "For more information about searching {{SITENAME}}, see [[Project:Searching|Searching {{SITENAME}}]].",
778 'searchquery' => "For query \"$1\"",
779 'badquery' => 'Badly formed search query',
780 'badquerytext' => 'We could not process your query.
781 This is probably because you have attempted to search for a
782 word fewer than three letters long, which is not yet supported.
783 It could also be that you have mistyped the expression, for
784 example "fish and and scales".
785 Please try another query.',
786 'matchtotals' => "The query \"$1\" matched $2 page titles
787 and the text of $3 pages.",
788 'nogomatch' => 'No page with this exact title exists, trying full text search.',
789 'titlematches' => 'Article title matches',
790 'notitlematches' => 'No page title matches',
791 'textmatches' => 'Page text matches',
792 'notextmatches' => 'No page text matches',
793 'prevn' => "previous $1",
794 'nextn' => "next $1",
795 'viewprevnext' => "View ($1) ($2) ($3).",
796 'showingresults' => "Showing below up to <b>$1</b> results starting with #<b>$2</b>.",
797 'showingresultsnum' => "Showing below <b>$3</b> results starting with #<b>$2</b>.",
798 'nonefound' => "'''Note''': unsuccessful searches are
799 often caused by searching for common words like \"have\" and \"from\",
800 which are not indexed, or by specifying more than one search term (only pages
801 containing all of the search terms will appear in the result).",
802 'powersearch' => 'Search',
803 'powersearchtext' => "
804 Search in namespaces :<br />
805 $1<br />
806 $2 List redirects &nbsp; Search for $3 $9",
807 "searchdisabled" => '<p style="margin: 1.5em 2em 1em">{{SITENAME}} search is disabled for performance reasons. You can search via Google in the meantime.
808 <span style="font-size: 89%; display: block; margin-left: .2em">Note that their indexes of {{SITENAME}} content may be out of date.</span></p>',
809 'googlesearch' => "
810 <!-- SiteSearch Google -->
811 <FORM method=GET action=\"http://www.google.com/search\">
812 <TABLE bgcolor=\"#FFFFFF\"><tr><td>
813 <A HREF=\"http://www.google.com/\">
814 <IMG SRC=\"http://www.google.com/logos/Logo_40wht.gif\"
815 border=\"0\" ALT=\"Google\"></A>
816 </td>
817 <td>
818 <INPUT TYPE=text name=q size=31 maxlength=255 value=\"$1\">
819 <INPUT type=submit name=btnG VALUE=\"Google Search\">
820 <font size=-1>
821 <input type=hidden name=domains value=\"{{SERVER}}\"><br /><input type=radio name=sitesearch value=\"\"> WWW <input type=radio name=sitesearch value=\"{{SERVER}}\" checked> {{SERVER}} <br />
822 <input type='hidden' name='ie' value='$2'>
823 <input type='hidden' name='oe' value='$2'>
824 </font>
825 </td></tr></TABLE>
826 </FORM>
827 <!-- SiteSearch Google -->",
828 'blanknamespace' => '(Main)',
829
830 # Preferences page
831 #
832 'preferences' => 'Preferences',
833 'prefsnologin' => 'Not logged in',
834 'prefsnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
835 to set user preferences.",
836 'prefslogintext' => "You are logged in as \"$1\".
837 Your internal ID number is $2.
838
839 See [[Project:User preferences help]] for help deciphering the options.",
840 'prefsreset' => 'Preferences have been reset from storage.',
841 'qbsettings' => 'Quickbar settings',
842 'qbsettingsnote' => 'This preference only works in the \'Standard\' and the \'CologneBlue\' skin.',
843 'changepassword' => 'Change password',
844 'skin' => 'Skin',
845 'math' => 'Rendering math',
846 'dateformat' => 'Date format',
847 'math_failure' => 'Failed to parse',
848 'math_unknown_error' => 'unknown error',
849 'math_unknown_function' => 'unknown function ',
850 'math_lexing_error' => 'lexing error',
851 'math_syntax_error' => 'syntax error',
852 'math_image_error' => 'PNG conversion failed; check for correct installation of latex, dvips, gs, and convert',
853 'math_bad_tmpdir' => 'Can\'t write to or create math temp directory',
854 'math_bad_output' => 'Can\'t write to or create math output directory',
855 'math_notexvc' => 'Missing texvc executable; please see math/README to configure.',
856 'prefs-personal' => 'User data',
857 'prefs-rc' => 'Recent changes and stub display',
858 'prefs-misc' => 'Misc settings',
859 'saveprefs' => 'Save preferences',
860 'resetprefs' => 'Reset preferences',
861 'oldpassword' => 'Old password',
862 'newpassword' => 'New password',
863 'retypenew' => 'Retype new password',
864 'textboxsize' => 'Editing',
865 'rows' => 'Rows',
866 'columns' => 'Columns',
867 'searchresultshead' => 'Search result settings',
868 'resultsperpage' => 'Hits to show per page',
869 'contextlines' => 'Lines to show per hit',
870 'contextchars' => 'Characters of context per line',
871 'stubthreshold' => 'Threshold for stub display',
872 'recentchangescount' => 'Number of titles in recent changes',
873 'savedprefs' => 'Your preferences have been saved.',
874 'timezonelegend' => 'Time zone',
875 'timezonetext' => 'Enter number of hours your local time differs
876 from server time (UTC).',
877 'localtime' => 'Local time display',
878 'timezoneoffset' => 'Offset',
879 'servertime' => 'Server time is now',
880 'guesstimezone' => 'Fill in from browser',
881 'emailflag' => 'Disable e-mail from other users',
882 'defaultns' => 'Search in these namespaces by default:',
883 'default' => 'default',
884
885 # User levels special page
886 #
887
888 # switching pan
889 'userlevels-lookup-group' => 'Manage group rights',
890 'userlevels-group-edit' => 'Existent groups: ',
891 'editgroup' => 'Edit Group',
892 'addgroup' => 'Add Group',
893
894 'userlevels-lookup-user' => 'Manage user groups',
895 'userlevels-user-editname' => 'Enter a username: ',
896 'editusergroup' => 'Edit User Groups',
897
898 # group editing
899 'userlevels-editgroup' => 'Edit group',
900 'userlevels-addgroup' => 'Add group',
901 'userlevels-editgroup-name' => 'Group name: ',
902 'userlevels-editgroup-description' => 'Group description (max 255 characters):<br />',
903 'savegroup' => 'Save Group',
904
905 # user groups editing
906 'userlevels-editusergroup' => 'Edit user groups',
907 'saveusergroups' => 'Save User Groups',
908 'userlevels-groupsmember' => 'Member of:',
909 'userlevels-groupsavailable' => 'Available groups:',
910 'userlevels-groupshelp' => 'Select groups you want the user to be removed from or added to.
911 Unselected groups will not be changed. You can unselect a group by using CTRL + Left Click',
912 # Recent changes
913 #
914 'changes' => 'changes',
915 'recentchanges' => 'Recent changes',
916 'recentchanges-url' => 'Special:Recentchanges',
917 'recentchangestext' => 'Track the most recent changes to the wiki on this page.',
918 'rcloaderr' => 'Loading recent changes',
919 'rcnote' => "Below are the last <strong>$1</strong> changes in last <strong>$2</strong> days.",
920 'rcnotefrom' => "Below are the changes since <b>$2</b> (up to <b>$1</b> shown).",
921 'rclistfrom' => "Show new changes starting from $1",
922 'showhideminor' => "$1 minor edits | $2 bots | $3 logged in users | $4 patrolled edits ",
923 'rclinks' => "Show last $1 changes in last $2 days<br />$3",
924 'rchide' => "in $4 form; $1 minor edits; $2 secondary namespaces; $3 multiple edits.",
925 'rcliu' => "; $1 edits from logged in users",
926 'diff' => 'diff',
927 'hist' => 'hist',
928 'hide' => 'hide',
929 'show' => 'show',
930 'tableform' => 'table',
931 'listform' => 'list',
932 'nchanges' => "$1 changes",
933 'minoreditletter' => 'm',
934 'newpageletter' => 'N',
935 'sectionlink' => '&rarr;',
936 'number_of_watching_users_RCview' => '[$1]',
937 'number_of_watching_users_pageview' => '[$1 watching user/s]',
938
939 # Upload
940 #
941 'upload' => 'Upload file',
942 'uploadbtn' => 'Upload file',
943 'uploadlink' => 'Upload images',
944 'reupload' => 'Re-upload',
945 'reuploaddesc' => 'Return to the upload form.',
946 'uploadnologin' => 'Not logged in',
947 'uploadnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
948 to upload files.",
949 'uploadfile' => 'Upload images, sounds, documents etc.',
950 'uploaderror' => 'Upload error',
951 'uploadtext' =>
952 "'''STOP!''' Before you upload here,
953 make sure to read and follow the [[Project:Image use policy|image use policy]].
954
955 To view or search previously uploaded images,
956 go to the [[Special:Imagelist|list of uploaded images]].
957 Uploads and deletions are logged on the
958 [[Project:Upload log|upload log]].
959
960 Use the form below to upload new image files for use in
961 illustrating your pages.
962 On most browsers, you will see a \"Browse...\" button, which will
963 bring up your operating system's standard file open dialog.
964 Choosing a file will fill the name of that file into the text
965 field next to the button.
966 You must also check the box affirming that you are not
967 violating any copyrights by uploading the file.
968 Press the \"Upload\" button to finish the upload.
969 This may take some time if you have a slow internet connection.
970
971 The preferred formats are JPEG for photographic images, PNG
972 for drawings and other iconic images, and OGG for sounds.
973 Please name your files descriptively to avoid confusion.
974 To include the image in a page, use a link in the form
975 '''<nowiki>[[{{ns:6}}:file.jpg]]</nowiki>''' or
976 '''<nowiki>[[{{ns:6}}:file.png|alt text]]</nowiki>''' or
977 '''<nowiki>[[{{ns:-2}}:file.ogg]]</nowiki>''' for sounds.
978
979 Please note that as with wiki pages, others may edit or
980 delete your uploads if they think it serves the project, and
981 you may be blocked from uploading if you abuse the system.",
982
983 'uploadlog' => 'upload log',
984 'uploadlogpage' => 'Upload_log',
985 'uploadlogpagetext' => 'Below is a list of the most recent file uploads.',
986 'filename' => 'Filename',
987 'filedesc' => 'Summary',
988 'filestatus' => 'Copyright status',
989 'filesource' => 'Source',
990 'affirmation' => "I affirm that the copyright holder of this file
991 agrees to license it under the terms of the $1.",
992 'copyrightpage' => "Project:Copyrights",
993 'copyrightpagename' => "{{SITENAME}} copyright",
994 'uploadedfiles' => 'Uploaded files',
995 'noaffirmation' => 'You must affirm that your upload does not violate any copyrights.',
996 'ignorewarning' => 'Ignore warning and save file anyway.',
997 'minlength' => 'Image names must be at least three letters.',
998 'illegalfilename' => 'The filename "$1" contains characters that are not allowed in page titles. Please rename the file and try uploading it again.',
999 'badfilename' => "Image name has been changed to \"$1\".",
1000 'badfiletype' => "\".$1\" is not a recommended image file format.",
1001 'largefile' => 'It is recommended that images not exceed 100k in size.',
1002 'emptyfile' => 'The file you uploaded seems to be empty. This might be due to a typo in the file name. Please check whether you really want to upload this file.',
1003 'fileexists' => 'A file with this name exists already, please check $1 if you are not sure if you want to change it.',
1004 'successfulupload' => 'Successful upload',
1005 'fileuploaded' => "File $1 uploaded successfully.
1006 Please follow this link: $2 to the description page and fill
1007 in information about the file, such as where it came from, when it was
1008 created and by whom, and anything else you may know about it. If this is an image, you can insert it like this: <tt><nowiki>[[Image:$1|thumb|Description]]</nowiki></tt>",
1009 'uploadwarning' => 'Upload warning',
1010 'savefile' => 'Save file',
1011 'uploadedimage' => "uploaded \"$1\"",
1012 'uploaddisabled' => 'Sorry, uploading is disabled.',
1013 'uploadcorrupt' => 'The file is corrupt or has an incorrect extension. Please check the file and upload again.',
1014
1015 # Image list
1016 #
1017 'imagelist' => 'Image list',
1018 'imagelisttext' => "Below is a list of $1 images sorted $2.",
1019 'getimagelist' => 'fetching image list',
1020 'ilshowmatch' => 'Show all images with names matching',
1021 'ilsubmit' => 'Search',
1022 'showlast' => "Show last $1 images sorted $2.",
1023 'all' => 'all',
1024 'byname' => 'by name',
1025 'bydate' => 'by date',
1026 'bysize' => 'by size',
1027 'imgdelete' => 'del',
1028 'imgdesc' => 'desc',
1029 'imglegend' => 'Legend: (desc) = show/edit image description.',
1030 'imghistory' => 'Image history',
1031 'revertimg' => 'rev',
1032 'deleteimg' => 'del',
1033 'deleteimgcompletely' => 'Delete all revisions',
1034 'imghistlegend' => 'Legend: (cur) = this is the current image, (del) = delete
1035 this old version, (rev) = revert to this old version.
1036 <br /><i>Click on date to see image uploaded on that date</i>.',
1037 'imagelinks' => 'Image links',
1038 'linkstoimage' => 'The following pages link to this image:',
1039 'nolinkstoimage' => 'There are no pages that link to this image.',
1040 'sharedupload' => 'This file is a shared upload and may be used by other projects.',
1041 'shareduploadwiki' => 'Please see the [$1 image description page] for further information.',
1042
1043 # Statistics
1044 #
1045 'statistics' => 'Statistics',
1046 'sitestats' => 'Site statistics',
1047 'userstats' => 'User statistics',
1048 'sitestatstext' => "There are '''$1''' total pages in the database.
1049 This includes \"talk\" pages, pages about {{SITENAME}}, minimal \"stub\"
1050 pages, redirects, and others that probably don't qualify as content pages.
1051 Excluding those, there are '''$2''' pages that are probably legitimate
1052 content pages.
1053
1054 There have been a total of '''$3''' page views, and '''$4''' page edits
1055 since the wiki was setup.
1056 That comes to '''$5''' average edits per page, and '''$6''' views per edit.",
1057 'userstatstext' => "There are '''$1''' registered users.
1058 '''$2''' of these are administrators (see $3).",
1059
1060 # Maintenance Page
1061 #
1062 'maintenance' => 'Maintenance page',
1063 'maintnancepagetext' => 'This page includes several handy tools for everyday maintenance. Some of these functions tend to stress the database, so please do not hit reload after every item you fixed ;-)',
1064 'maintenancebacklink' => 'Back to Maintenance Page',
1065 'disambiguations' => 'Disambiguation pages',
1066 'disambiguationspage' => "Project:Links_to_disambiguating_pages",
1067 'disambiguationstext' => "The following pages link to a <i>disambiguation page</i>. They should link to the appropriate topic instead.<br />A page is treated as dismbiguation if it is linked from $1.<br />Links from other namespaces are <i>not</i> listed here.",
1068 'doubleredirects' => 'Double Redirects',
1069 'doubleredirectstext' => "<b>Attention:</b> This list may contain false positives. That usually means there is additional text with links below the first #REDIRECT.<br />\nEach row contains links to the first and second redirect, as well as the first line of the second redirect text, usually giving the \"real\" target page, which the first redirect should point to.",
1070 'brokenredirects' => 'Broken Redirects',
1071 'brokenredirectstext' => 'The following redirects link to a non-existing pages.',
1072 'selflinks' => 'Pages with Self Links',
1073 'selflinkstext' => 'The following pages contain a link to themselves, which they should not.',
1074 'mispeelings' => 'Pages with misspellings',
1075 'mispeelingstext' => "The following pages contain a common misspelling, which are listed on $1. The correct spelling might be given (like this).",
1076 'mispeelingspage' => 'List of common misspellings',
1077 'missinglanguagelinks' => 'Missing Language Links',
1078 'missinglanguagelinksbutton' => 'Find missing language links for',
1079 'missinglanguagelinkstext' => "These pages do <i>not</i> link to their counterpart in $1. Redirects and subpages are <i>not</i> shown.",
1080
1081
1082 # Miscellaneous special pages
1083 #
1084 'orphans' => 'Orphaned pages',
1085 'geo' => 'GEO coordinates',
1086 'validate' => 'Validate page',
1087 'lonelypages' => 'Orphaned pages',
1088 'uncategorizedpages' => 'Uncategorized pages',
1089 'uncategorizedcategories' => 'Uncategorized categories',
1090 'unusedimages' => 'Unused images',
1091 'popularpages' => 'Popular pages',
1092 'nviews' => '$1 views',
1093 'wantedpages' => 'Wanted pages',
1094 'nlinks' => '$1 links',
1095 'allpages' => 'All pages',
1096 'randompage' => 'Random page',
1097 'randompage-url'=> 'Special:Randompage',
1098 'shortpages' => 'Short pages',
1099 'longpages' => 'Long pages',
1100 'deadendpages' => 'Dead-end pages',
1101 'listusers' => 'User list',
1102 'listadmins' => 'Admins list',
1103 'specialpages' => 'Special pages',
1104 'spheading' => 'Special pages for all users',
1105 'asksqlpheading' => 'asksql level',
1106 'blockpheading' => 'block level',
1107 'createaccountpheading' => 'createaccount level',
1108 'deletepheading' => 'delete level',
1109 'userrightspheading' => 'userrights level',
1110 'siteadminpheading' => 'siteadmin level',
1111
1112 /** obsoletes
1113 'sysopspheading' => 'For sysop use only',
1114 'developerspheading' => 'For developer use only',
1115 */
1116 'protectpage' => 'Protect page',
1117 'recentchangeslinked' => 'Related changes',
1118 'rclsub' => "(to pages linked from \"$1\")",
1119 'debug' => 'Debug',
1120 'newpages' => 'New pages',
1121 'ancientpages' => 'Oldest pages',
1122 'intl' => 'Interlanguage links',
1123 'move' => 'Move',
1124 'movethispage' => 'Move this page',
1125 'unusedimagestext' => '<p>Please note that other web sites may link to an image with
1126 a direct URL, and so may still be listed here despite being
1127 in active use.',
1128 'booksources' => 'Book sources',
1129 'categoriespagetext' => 'The following categories exists in the wiki.',
1130 'data' => 'Data',
1131 'userlevels' => 'User levels management',
1132
1133 # FIXME: Other sites, of course, may have affiliate relations with the booksellers list
1134 'booksourcetext' => "Below is a list of links to other sites that
1135 sell new and used books, and may also have further information
1136 about books you are looking for.
1137 {{SITENAME}} is not affiliated with any of these businesses, and
1138 this list should not be construed as an endorsement.",
1139 'isbn' => 'ISBN',
1140 'rfcurl' => 'http://www.faqs.org/rfcs/rfc$1.html',
1141 'pubmedurl' => 'http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=pubmed&dopt=Abstract&list_uids=$1',
1142 'alphaindexline' => "$1 to $2",
1143 'version' => 'Version',
1144 'log' => 'Logs',
1145 'alllogstext' => 'Combined display of upload, deletion, protection, blocking, and sysop logs.
1146 You can narrow down the view by selecting a log type, the user name, or the affected page.',
1147
1148 # Special:Allpages
1149 'nextpage' => 'Next page ($1)',
1150 'articlenamespace' => '(articles)',
1151 'allpagesformtext1' => 'Display pages starting at: $1',
1152 'allpagesformtext2' => 'Choose namespace: $1 $2',
1153 'allarticles' => 'All articles',
1154 'allpagesprev' => 'Previous',
1155 'allpagesnext' => 'Next',
1156 'allpagesnamespace' => 'All pages ($1 namespace)',
1157 'allpagessubmit' => 'Go',
1158
1159 # Email this user
1160 #
1161 'mailnologin' => 'No send address',
1162 'mailnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin\">logged in</a>
1163 and have a valid e-mail address in your <a href=\"{{localurl:Special:Preferences}}\">preferences</a>
1164 to send e-mail to other users.",
1165 'emailuser' => 'E-mail this user',
1166 'emailpage' => 'E-mail user',
1167 'emailpagetext' => 'If this user has entered a valid e-mail address in
1168 his or her user preferences, the form below will send a single message.
1169 The e-mail address you entered in your user preferences will appear
1170 as the "From" address of the mail, so the recipient will be able
1171 to reply.',
1172 'usermailererror' => 'Mail object returned error: ',
1173 'defemailsubject' => "{{SITENAME}} e-mail",
1174 'noemailtitle' => 'No e-mail address',
1175 'noemailtext' => 'This user has not specified a valid e-mail address,
1176 or has chosen not to receive e-mail from other users.',
1177 'emailfrom' => 'From',
1178 'emailto' => 'To',
1179 'emailsubject' => 'Subject',
1180 'emailmessage' => 'Message',
1181 'emailsend' => 'Send',
1182 'emailsent' => 'E-mail sent',
1183 'emailsenttext' => 'Your e-mail message has been sent.',
1184
1185 # Watchlist
1186 #
1187 'watchlist' => 'My watchlist',
1188 'watchlistsub' => "(for user \"$1\")",
1189 'nowatchlist' => 'You have no items on your watchlist.',
1190 'watchnologin' => 'Not logged in',
1191 'watchnologintext' => "You must be <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1192 to modify your watchlist.",
1193 'addedwatch' => 'Added to watchlist',
1194 'addedwatchtext' => "The page \"$1\" has been added to your [[Special:Watchlist|watchlist]].
1195 Future changes to this page and its associated Talk page will be listed there,
1196 and the page will appear '''bolded''' in the [[Special:Recentchanges|list of recent changes]] to
1197 make it easier to pick out.
1198
1199 <p>If you want to remove the page from your watchlist later, click \"Stop watching\" in the sidebar.",
1200 'removedwatch' => 'Removed from watchlist',
1201 'removedwatchtext' => "The page \"$1\" has been removed from your watchlist.",
1202 'watch' => 'Watch',
1203 'watchthispage' => 'Watch this page',
1204 'unwatch' => 'Unwatch',
1205 'unwatchthispage' => 'Stop watching',
1206 'notanarticle' => 'Not a content page',
1207 'watchnochange' => 'None of your watched items were edited in the time period displayed.',
1208 'watchdetails' => "($1 pages watched not counting talk pages;
1209 $2 total pages edited since cutoff;
1210 $3...
1211 <a href='$4'>show and edit complete list</a>.)",
1212 'watchmethod-recent'=> 'checking recent edits for watched pages',
1213 'watchmethod-list' => 'checking watched pages for recent edits',
1214 'removechecked' => 'Remove checked items from watchlist',
1215 'watchlistcontains' => "Your watchlist contains $1 pages.",
1216 'watcheditlist' => 'Here\'s an alphabetical list of your
1217 watched content pages. Check the boxes of pages you want to remove from your watchlist and click the \'remove checked\' button
1218 at the bottom of the screen (deleting a content page also deletes the accompanying talk page and vice versa).',
1219 'removingchecked' => 'Removing requested items from watchlist...',
1220 'couldntremove' => "Couldn't remove item '$1'...",
1221 'iteminvalidname' => "Problem with item '$1', invalid name...",
1222 'wlnote' => "Below are the last $1 changes in the last <b>$2</b> hours.",
1223 'wlshowlast' => "Show last $1 hours $2 days $3",
1224 'wlsaved' => 'This is a saved version of your watchlist.',
1225
1226 'updatedmarker' => '<span class=\'updatedmarker\'>&nbsp;updated (since my last visit)&nbsp;</span>',
1227
1228 'email_notification_mailer' => '{{SITENAME}} Notification Mailer',
1229 'email_notification_infotext' => '
1230 <strong>Email Notification</strong><p>
1231 <form action=\'{{localurl:Special:Watchlist|action=submit&magic=yes}}\' method=\'post\'>
1232 <ul>
1233 <li>You will be notified by email when someone changes a page which is listed in your watchlist.</li>
1234 <li>A flag is set so that you receive only one email on the first change.</li>
1235 <li>Your own edits do <b>not</b> trigger the sending of notifications.
1236 <li>{{MediaWiki:updatedmarker}} means that the <b><i>page has changed since your last visit and that a notification mail has been sent to you.</i></b>.</li>
1237 <li>The flag is automatically cleared when you visit such pages.</li>
1238 <li> Alternatively, you can reset all flags at once by clicking on&nbsp; <input type="submit" name="dummy" value=\'Reset all notification flags (set their status to "visited")\'><input type="hidden" name="reset" value="all"></form></li>
1239 </ul>
1240 <hr>',
1241 'email_notification_newpagetext'=> 'This is a new page.',
1242 'email_notification_to' => '$WATCHINGUSERNAME_QP <$WATCHINGUSEREMAILADDR>',
1243 'email_notification_subject' => '{{SITENAME}} page $PAGETITLE_QP has been changed by $PAGEEDITOR_QP',
1244 'email_notification_lastvisitedrevisiontext' => 'See {{SERVER}}{{localurl:$PAGETITLE_RAWURL|diff=0&oldid=$OLDID}} for all changes since your last visit.',
1245 'email_notification_body' => 'Dear $WATCHINGUSERNAME,
1246
1247 the {{SITENAME}} page $PAGETITLE has been changed on $PAGEEDITDATE by $PAGEEDITOR,
1248 see {{SERVER}}{{localurl:$PAGETITLE_RAWURL}} for the current version.
1249
1250 $NEWPAGE
1251
1252 Editor\'s summary: $PAGESUMMARY $PAGEMINOREDIT
1253 Contact the editor:
1254 mail {{SERVER}}{{localurl:Special:Emailuser|target=$PAGEEDITOR_RAWURL}}
1255 wiki {{SERVER}}{{localurl:User:$PAGEEDITOR_RAWURL}}
1256
1257 There will be no other notifications in case of further changes unless you visit this page.
1258 You could also reset the notification flags for all your watched pages on your watchlist.
1259
1260 Your friendly {{SITENAME}} notification system
1261
1262 --
1263 To change your watchlist settings, visit
1264 {{SERVER}}{{localurl:Special:Watchlist|magic=yes}}
1265
1266 Feedback and further assistance:
1267 {{SERVER}}{{localurl:WikiHelpdesk}}',
1268
1269 # Delete/protect/revert
1270 #
1271 'deletepage' => 'Delete page',
1272 'confirm' => 'Confirm',
1273 'excontent' => 'content was:',
1274 'exbeforeblank' => 'content before blanking was:',
1275 'exblank' => 'page was empty',
1276 'confirmdelete' => 'Confirm delete',
1277 'deletesub' => "(Deleting \"$1\")",
1278 'historywarning' => 'Warning: The page you are about to delete has a history: ',
1279 'confirmdeletetext' => "You are about to permanently delete a page
1280 or image along with all of its history from the database.
1281 Please confirm that you intend to do this, that you understand the
1282 consequences, and that you are doing this in accordance with
1283 [[Project:Policy]].",
1284 'confirmcheck' => 'Yes, I really want to delete this.',
1285 'actioncomplete' => 'Action complete',
1286 'deletedtext' => "\"$1\" has been deleted.
1287 See $2 for a record of recent deletions.",
1288 'deletedarticle' => "deleted \"$1\"",
1289 'dellogpage' => 'Deletion_log',
1290 'dellogpagetext' => 'Below is a list of the most recent deletions.',
1291 'deletionlog' => 'deletion log',
1292 'reverted' => 'Reverted to earlier revision',
1293 'deletecomment' => 'Reason for deletion',
1294 'imagereverted' => 'Revert to earlier version was successful.',
1295 'rollback' => 'Roll back edits',
1296 'rollback_short' => 'Rollback',
1297 'rollbacklink' => 'rollback',
1298 'rollbackfailed' => 'Rollback failed',
1299 'cantrollback' => 'Cannot revert edit; last contributor is only author of this page.',
1300 'alreadyrolled' => "Cannot rollback last edit of [[$1]]
1301 by [[User:$2|$2]] ([[User talk:$2|Talk]]); someone else has edited or rolled back the page already.
1302
1303 Last edit was by [[User:$3|$3]] ([[User talk:$3|Talk]]). ",
1304 # only shown if there is an edit comment
1305 'editcomment' => "The edit comment was: \"<i>$1</i>\".",
1306 'revertpage' => "Reverted edit of $2, changed back to last version by $1",
1307 'protectlogpage' => 'Protection_log',
1308 'protectlogtext' => "Below is a list of page locks/unlocks.
1309 See [[Project:Protected page]] for more information.",
1310 'protectedarticle' => "protected $1",
1311 'unprotectedarticle' => "unprotected $1",
1312 'protectsub' =>"(Protecting \"$1\")",
1313 'confirmprotecttext' => 'Do you really want to protect this page?',
1314 'confirmprotect' => 'Confirm protection',
1315 'protectmoveonly' => 'Protect from moves only',
1316 'protectcomment' => 'Reason for protecting',
1317 'unprotectsub' =>"(Unprotecting \"$1\")",
1318 'confirmunprotecttext' => 'Do you really want to unprotect this page?',
1319 'confirmunprotect' => 'Confirm unprotection',
1320 'unprotectcomment' => 'Reason for unprotecting',
1321 'protectreason' => '(give a reason)',
1322
1323 # Undelete
1324 'undelete' => 'Restore deleted page',
1325 'undeletepage' => 'View and restore deleted pages',
1326 'undeletepagetext' => 'The following pages have been deleted but are still in the archive and
1327 can be restored. The archive may be periodically cleaned out.',
1328 'undeletearticle' => 'Restore deleted page',
1329 'undeleterevisions' => "$1 revisions archived",
1330 'undeletehistory' => 'If you restore the page, all revisions will be restored to the history.
1331 If a new page with the same name has been created since the deletion, the restored
1332 revisions will appear in the prior history, and the current revision of the live page
1333 will not be automatically replaced.',
1334 'undeleterevision' => "Deleted revision as of $1",
1335 'undeletebtn' => 'Restore!',
1336 'undeletedarticle' => "restored \"$1\"",
1337 'undeletedrevisions' => "$1 revisions restored",
1338 'undeletedtext' => "[[$1]] has been successfully restored.
1339 See [[Special:Log/delete]] for a record of recent deletions and restorations.",
1340
1341 # Contributions
1342 #
1343 'contributions' => 'User contributions',
1344 'mycontris' => 'My contributions',
1345 'contribsub' => "For $1",
1346 'nocontribs' => 'No changes were found matching these criteria.',
1347 'ucnote' => "Below are this user's last <b>$1</b> changes in the last <b>$2</b> days.",
1348 'uclinks' => "View the last $1 changes; view the last $2 days.",
1349 'uctop' => ' (top)' ,
1350 'newbies' => 'newbies',
1351
1352 # What links here
1353 #
1354 'whatlinkshere' => 'What links here',
1355 'notargettitle' => 'No target',
1356 'notargettext' => 'You have not specified a target page or user
1357 to perform this function on.',
1358 'linklistsub' => '(List of links)',
1359 'linkshere' => 'The following pages link to here:',
1360 'nolinkshere' => 'No pages link to here.',
1361 'isredirect' => 'redirect page',
1362
1363 # Block/unblock IP
1364 #
1365 'blockip' => 'Block user',
1366 'blockiptext' => "Use the form below to block write access
1367 from a specific IP address or username.
1368 This should be done only only to prevent vandalism, and in
1369 accordance with [[Project:Policy|policy]].
1370 Fill in a specific reason below (for example, citing particular
1371 pages that were vandalized).",
1372 'ipaddress' => 'IP Address/username',
1373 'ipbexpiry' => 'Expiry',
1374 'ipbreason' => 'Reason',
1375 'ipbsubmit' => 'Block this user',
1376 'badipaddress' => 'Invalid IP address',
1377 'noblockreason' => 'You must supply a reason for the block.',
1378 'blockipsuccesssub' => 'Block succeeded',
1379 'blockipsuccesstext' => "\"$1\" has been blocked.
1380 <br />See [[Special:Ipblocklist|IP block list]] to review blocks.",
1381 'unblockip' => 'Unblock user',
1382 'unblockiptext' => 'Use the form below to restore write access
1383 to a previously blocked IP address or username.',
1384 'ipusubmit' => 'Unblock this address',
1385 'ipusuccess' => "\"$1\" unblocked",
1386 'ipblocklist' => 'List of blocked IP addresses and usernames',
1387 'blocklistline' => "$1, $2 blocked $3 (expires $4)",
1388 'blocklink' => 'block',
1389 'unblocklink' => 'unblock',
1390 'contribslink' => 'contribs',
1391 'autoblocker' => "Autoblocked because you share an IP address with \"$1\". Reason \"$2\".",
1392 'blocklogpage' => 'Block_log',
1393 'blocklogentry' => 'blocked "$1" with an expiry time of $2',
1394 'blocklogtext' => 'This is a log of user blocking and unblocking actions. Automatically
1395 blocked IP addresses are not listed. See the [[Special:Ipblocklist|IP block list]] for
1396 the list of currently operational bans and blocks.',
1397 'unblocklogentry' => 'unblocked "$1"',
1398 'range_block_disabled' => 'The sysop ability to create range blocks is disabled.',
1399 'ipb_expiry_invalid' => 'Expiry time invalid.',
1400 'ip_range_invalid' => "Invalid IP range.\n",
1401 'proxyblocker' => 'Proxy blocker',
1402 'proxyblockreason' => 'Your IP address has been blocked because it is an open proxy. Please contact your Internet service provider or tech support and inform them of this serious security problem.',
1403 'proxyblocksuccess' => "Done.\n",
1404
1405 # Developer tools
1406 #
1407 'lockdb' => 'Lock database',
1408 'unlockdb' => 'Unlock database',
1409 'lockdbtext' => 'Locking the database will suspend the ability of all
1410 users to edit pages, change their preferences, edit their watchlists, and
1411 other things requiring changes in the database.
1412 Please confirm that this is what you intend to do, and that you will
1413 unlock the database when your maintenance is done.',
1414 'unlockdbtext' => 'Unlocking the database will restore the ability of all
1415 users to edit pages, change their preferences, edit their watchlists, and
1416 other things requiring changes in the database.
1417 Please confirm that this is what you intend to do.',
1418 'lockconfirm' => 'Yes, I really want to lock the database.',
1419 'unlockconfirm' => 'Yes, I really want to unlock the database.',
1420 'lockbtn' => 'Lock database',
1421 'unlockbtn' => 'Unlock database',
1422 'locknoconfirm' => 'You did not check the confirmation box.',
1423 'lockdbsuccesssub' => 'Database lock succeeded',
1424 'unlockdbsuccesssub' => 'Database lock removed',
1425 'lockdbsuccesstext' => 'The database has been locked.
1426 <br />Remember to remove the lock after your maintenance is complete.',
1427 'unlockdbsuccesstext' => 'The database has been unlocked.',
1428
1429 # SQL query
1430 #
1431 'asksql' => 'SQL query',
1432 'asksqltext' => "Use the form below to make a direct query of the
1433 database.
1434 Use single quotes ('like this') to delimit string literals.
1435 This can often add considerable load to the server, so please use
1436 this function sparingly.",
1437 'sqlislogged' => 'Please note that all queries are logged.',
1438 'sqlquery' => 'Enter query',
1439 'querybtn' => 'Submit query',
1440 'selectonly' => 'Only read-only queries are allowed.',
1441 'querysuccessful' => 'Query successful',
1442
1443 # Make sysop
1444 'makesysoptitle' => 'Make a user into a sysop',
1445 'makesysoptext' => 'This form is used by bureaucrats to turn ordinary users into administrators.
1446 Type the name of the user in the box and press the button to make the user an administrator',
1447 'makesysopname' => 'Name of the user:',
1448 'makesysopsubmit' => 'Make this user into a sysop',
1449 'makesysopok' => "<b>User \"$1\" is now a sysop</b>",
1450 'makesysopfail' => "<b>User \"$1\" could not be made into a sysop. (Did you enter the name correctly?)</b>",
1451 'setbureaucratflag' => 'Set bureaucrat flag',
1452 'bureaucratlog' => 'Bureaucrat_log',
1453 'rightslogtext' => 'This is a log of changes to user rights.',
1454 'bureaucratlogentry' => "Rights for user \"$1\" set \"$2\"",
1455 'rights' => 'Rights:',
1456 'set_user_rights' => 'Set user rights',
1457 'user_rights_set' => "<b>User rights for \"$1\" updated</b>",
1458 'set_rights_fail' => "<b>User rights for \"$1\" could not be set. (Did you enter the name correctly?)</b>",
1459 'makesysop' => 'Make a user into a sysop',
1460
1461 # Validation
1462 'val_clear_old' => 'Clear my other validation data for $1',
1463 'val_merge_old' => 'Use my previous assessment where selected \'No opinion\'',
1464 'val_form_note' => '<b>Hint:</b> Merging your data means that for the article
1465 revision you select, all options where you have specified <i>no opinion</i>
1466 will be set to the value and comment of the most recent revision for which you
1467 have expressed an opinion. For example, if you want to change a single option
1468 for a newer revision, but also keep your other settings for this article in
1469 this revision, just select which option you intend to <i>change</i>, and
1470 merging will fill in the other options with your previous settings.',
1471 'val_noop' => 'No opinion',
1472 'val_percent' => '<b>$1%</b><br />($2 of $3 points<br />by $4 users)',
1473 'val_percent_single' => '<b>$1%</b><br />($2 of $3 points<br />by one user)',
1474 'val_total' => 'Total',
1475 'val_version' => 'Version',
1476 'val_tab' => 'Validate',
1477 'val_this_is_current_version' => 'this is the latest version',
1478 'val_version_of' => "Version of $1" ,
1479 'val_table_header' => "<tr><th>Class</th>$1<th colspan=4>Opinion</th>$1<th>Comment</th></tr>\n",
1480 'val_stat_link_text' => 'Validation statistics for this article',
1481 'val_view_version' => 'View this version',
1482 'val_validate_version' => 'Validate this version',
1483 'val_user_validations' => 'This user has validated $1 pages.',
1484 'val_no_anon_validation' => 'You have to be logged in to validate an article.',
1485 'val_validate_article_namespace_only' => 'Only articles can be validated. This page is <i>not</i> in the article namespace.',
1486 'val_validated' => 'Validation done.',
1487 'val_article_lists' => 'List of validated articles',
1488 'val_page_validation_statistics' => 'Page validation statistics for $1',
1489
1490 # Move page
1491 #
1492 'movepage' => 'Move page',
1493 'movepagetext' => 'Using the form below will rename a page, moving all
1494 of its history to the new name.
1495 The old title will become a redirect page to the new title.
1496 Links to the old page title will not be changed; be sure to
1497 [[Special:Maintenance|check]] for double or broken redirects.
1498 You are responsible for making sure that links continue to
1499 point where they are supposed to go.
1500
1501 Note that the page will \'\'\'not\'\'\' be moved if there is already
1502 a page at the new title, unless it is empty or a redirect and has no
1503 past edit history. This means that you can rename a page back to where
1504 it was just renamed from if you make a mistake, and you cannot overwrite
1505 an existing page.
1506
1507 <b>WARNING!</b>
1508 This can be a drastic and unexpected change for a popular page;
1509 please be sure you understand the consequences of this before
1510 proceeding.',
1511 'movepagetalktext' => 'The associated talk page, if any, will be automatically moved along with it \'\'\'unless:\'\'\'
1512 *You are moving the page across namespaces,
1513 *A non-empty talk page already exists under the new name, or
1514 *You uncheck the box below.
1515
1516 In those cases, you will have to move or merge the page manually if desired.',
1517 'movearticle' => 'Move page',
1518 'movenologin' => 'Not logged in',
1519 'movenologintext' => "You must be a registered user and <a href=\"{{localurl:Special:Userlogin}}\">logged in</a>
1520 to move a page.",
1521 'newtitle' => 'To new title',
1522 'movepagebtn' => 'Move page',
1523 'pagemovedsub' => 'Move succeeded',
1524 'pagemovedtext' => "Page \"[[$1]]\" moved to \"[[$2]]\".",
1525 'articleexists' => 'A page of that name already exists, or the
1526 name you have chosen is not valid.
1527 Please choose another name.',
1528 'talkexists' => 'The page itself was moved successfully, but the
1529 talk page could not be moved because one already exists at the new
1530 title. Please merge them manually.',
1531 'movedto' => 'moved to',
1532 'movetalk' => 'Move "talk" page as well, if applicable.',
1533 'talkpagemoved' => 'The corresponding talk page was also moved.',
1534 'talkpagenotmoved' => 'The corresponding talk page was <strong>not</strong> moved.',
1535 '1movedto2' => "$1 moved to $2",
1536 '1movedto2_redir' => '$1 moved to $2 over redirect',
1537
1538 # Export
1539
1540 'export' => 'Export pages',
1541 'exporttext' => 'You can export the text and editing history of a particular page or
1542 set of pages wrapped in some XML. In the future, this may then be imported into another
1543 wiki running MediaWiki software, although there is no support for this feature in the
1544 current version.
1545
1546 To export article pages, enter the titles in the text box below, one title per line, and
1547 select whether you want the current version as well as all old versions, with the page
1548 history lines, or just the current version with the info about the last edit.
1549
1550 In the latter case you can also use a link, e.g. [[{{ns:Special}}:Export/Train]] for the
1551 article [[Train]].
1552 ',
1553 'exportcuronly' => 'Include only the current revision, not the full history',
1554
1555 # Namespace 8 related
1556
1557 'allmessages' => 'All system messages',
1558 'allmessagestext' => 'This is a list of all system messages available in the MediaWiki: namespace.',
1559 'allmessagesnotsupportedUI' => 'Your current interface language <b>$1</b> is not supported by Special:AllMessages at this site. ',
1560 'allmessagesnotsupportedDB' => 'Special:AllMessages not supported because wgUseDatabaseMessages is off.',
1561
1562 # Thumbnails
1563
1564 'thumbnail-more' => 'Enlarge',
1565 'missingimage' => "<b>Missing image</b><br /><i>$1</i>\n",
1566 'filemissing' => 'File missing',
1567
1568 # Special:Import
1569 'import' => 'Import pages',
1570 'importtext' => 'Please export the file from the source wiki using the Special:Export utility, save it to your disk and upload it here.',
1571 'importfailed' => "Import failed: $1",
1572 'importnotext' => 'Empty or no text',
1573 'importsuccess' => 'Import succeeded!',
1574 'importhistoryconflict' => 'Conflicting history revision exists (may have imported this page before)',
1575
1576 # Keyboard access keys for power users
1577 'accesskey-search' => 'f',
1578 'accesskey-minoredit' => 'i',
1579 'accesskey-save' => 's',
1580 'accesskey-preview' => 'p',
1581 'accesskey-compareselectedversions' => 'v',
1582
1583 # tooltip help for some actions, most are in Monobook.js
1584 'tooltip-search' => 'Search this wiki [alt-f]',
1585 'tooltip-minoredit' => 'Mark this as a minor edit [alt-i]',
1586 'tooltip-save' => 'Save your changes [alt-s]',
1587 'tooltip-preview' => 'Preview your changes, please use this before saving! [alt-p]',
1588 'tooltip-compareselectedversions' => 'See the differences between the two selected versions of this page. [alt-v]',
1589
1590 # stylesheets
1591
1592 'Monobook.css' => '/* edit this file to customize the monobook skin for the entire site */',
1593 #'Monobook.js' => '/* edit this file to change js things in the monobook skin */',
1594
1595 # Metadata
1596 'nodublincore' => 'Dublin Core RDF metadata disabled for this server.',
1597 'nocreativecommons' => 'Creative Commons RDF metadata disabled for this server.',
1598 'notacceptable' => 'The wiki server can\'t provide data in a format your client can read.',
1599
1600 # Attribution
1601
1602 'anonymous' => "Anonymous user(s) of $wgSitename",
1603 'siteuser' => "$wgSitename user $1",
1604 'lastmodifiedby' => "This page was last modified $1 by $2.",
1605 'and' => 'and',
1606 'othercontribs' => "Based on work by $1.",
1607 'others' => 'others',
1608 'siteusers' => "$wgSitename user(s) $1",
1609 'creditspage' => 'Page credits',
1610 'nocredits' => 'There is no credits info available for this page.',
1611
1612 # Spam protection
1613
1614 'spamprotectiontitle' => 'Spam protection filter',
1615 'spamprotectiontext' => 'The page you wanted to save was blocked by the spam filter. This is probably caused by a link to an external site.',
1616 'spamprotectionmatch' => 'The following text is what triggered our spam filter: $1',
1617 'subcategorycount' => "There are $1 subcategories to this category.",
1618 'subcategorycount1' => "There is $1 subcategory to this category.",
1619 'categoryarticlecount' => "There are $1 articles in this category.",
1620 'categoryarticlecount1' => "There is $1 article in this category.",
1621 'usenewcategorypage' => "1\n\nSet first character to \"0\" to disable the new category page layout.",
1622 'listingcontinuesabbrev' => " cont.",
1623
1624 # Info page
1625 "infosubtitle" => "Information for page",
1626 "numedits" => "Number of edits (article): $1",
1627 "numtalkedits" => "Number of edits (discussion page): $1",
1628 "numwatchers" => "Number of watchers: $1",
1629 "numauthors" => "Number of distinct authors (article): $1",
1630 "numtalkauthors" => "Number of distinct authors (discussion page): $1",
1631
1632 # Math options
1633 'mw_math_png' => 'Always render PNG',
1634 'mw_math_simple' => 'HTML if very simple or else PNG',
1635 'mw_math_html' => 'HTML if possible or else PNG',
1636 'mw_math_source' => 'Leave it as TeX (for text browsers)',
1637 'mw_math_modern' => 'Recommended for modern browsers',
1638 'mw_math_mathml' => 'MathML if possible (experimental)',
1639
1640 # Patrolling
1641 'markaspatrolleddiff' => "Mark as patrolled",
1642 'markaspatrolledlink' => "<div class='patrollink'>[$1]</div>",
1643 'markaspatrolledtext' => "Mark this article as patrolled",
1644 'markedaspatrolled' => "Marked as patrolled",
1645 'markedaspatrolledtext' => "The selected revision has been marked as patrolled.",
1646 'rcpatroldisabled' => "Recent Changes Patrol disabled",
1647 'rcpatroldisabledtext' => "The Recent Changes Patrol feature is currently disabled.",
1648
1649 # Monobook.js: tooltips and access keys for monobook
1650 'Monobook.js' => '/* tooltips and access keys */
1651 ta = new Object();
1652 ta[\'pt-userpage\'] = new Array(\'.\',\'My user page\');
1653 ta[\'pt-anonuserpage\'] = new Array(\'.\',\'The user page for the ip you\\\'re editing as\');
1654 ta[\'pt-mytalk\'] = new Array(\'n\',\'My talk page\');
1655 ta[\'pt-anontalk\'] = new Array(\'n\',\'Discussion about edits from this ip address\');
1656 ta[\'pt-preferences\'] = new Array(\'\',\'My preferences\');
1657 ta[\'pt-watchlist\'] = new Array(\'l\',\'The list of pages you\\\'re monitoring for changes.\');
1658 ta[\'pt-mycontris\'] = new Array(\'y\',\'List of my contributions\');
1659 ta[\'pt-login\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\');
1660 ta[\'pt-anonlogin\'] = new Array(\'o\',\'You are encouraged to log in, it is not mandatory however.\');
1661 ta[\'pt-logout\'] = new Array(\'o\',\'Log out\');
1662 ta[\'ca-talk\'] = new Array(\'t\',\'Discussion about the content page\');
1663 ta[\'ca-edit\'] = new Array(\'e\',\'You can edit this page. Please use the preview button before saving.\');
1664 ta[\'ca-addsection\'] = new Array(\'+\',\'Add a comment to this discussion.\');
1665 ta[\'ca-viewsource\'] = new Array(\'e\',\'This page is protected. You can view its source.\');
1666 ta[\'ca-history\'] = new Array(\'h\',\'Past versions of this page.\');
1667 ta[\'ca-protect\'] = new Array(\'=\',\'Protect this page\');
1668 ta[\'ca-delete\'] = new Array(\'d\',\'Delete this page\');
1669 ta[\'ca-undelete\'] = new Array(\'d\',\'Restore the edits done to this page before it was deleted\');
1670 ta[\'ca-move\'] = new Array(\'m\',\'Move this page\');
1671 ta[\'ca-nomove\'] = new Array(\'\',\'You don\\\'t have the permissions to move this page\');
1672 ta[\'ca-watch\'] = new Array(\'w\',\'Add this page to your watchlist\');
1673 ta[\'ca-unwatch\'] = new Array(\'w\',\'Remove this page from your watchlist\');
1674 ta[\'search\'] = new Array(\'f\',\'Search this wiki\');
1675 ta[\'p-logo\'] = new Array(\'\',\'Main Page\');
1676 ta[\'n-mainpage\'] = new Array(\'z\',\'Visit the Main Page\');
1677 ta[\'n-portal\'] = new Array(\'\',\'About the project, what you can do, where to find things\');
1678 ta[\'n-currentevents\'] = new Array(\'\',\'Find background information on current events\');
1679 ta[\'n-recentchanges\'] = new Array(\'r\',\'The list of recent changes in the wiki.\');
1680 ta[\'n-randompage\'] = new Array(\'x\',\'Load a random page\');
1681 ta[\'n-help\'] = new Array(\'\',\'The place to find out.\');
1682 ta[\'n-sitesupport\'] = new Array(\'\',\'Support us\');
1683 ta[\'t-whatlinkshere\'] = new Array(\'j\',\'List of all wiki pages that link here\');
1684 ta[\'t-recentchangeslinked\'] = new Array(\'k\',\'Recent changes in pages linked from this page\');
1685 ta[\'feed-rss\'] = new Array(\'\',\'RSS feed for this page\');
1686 ta[\'feed-atom\'] = new Array(\'\',\'Atom feed for this page\');
1687 ta[\'t-contributions\'] = new Array(\'\',\'View the list of contributions of this user\');
1688 ta[\'t-emailuser\'] = new Array(\'\',\'Send a mail to this user\');
1689 ta[\'t-upload\'] = new Array(\'u\',\'Upload images or media files\');
1690 ta[\'t-specialpages\'] = new Array(\'q\',\'List of all special pages\');
1691 ta[\'ca-nstab-main\'] = new Array(\'c\',\'View the content page\');
1692 ta[\'ca-nstab-user\'] = new Array(\'c\',\'View the user page\');
1693 ta[\'ca-nstab-media\'] = new Array(\'c\',\'View the media page\');
1694 ta[\'ca-nstab-special\'] = new Array(\'\',\'This is a special page, you can\\\'t edit the page itself.\');
1695 ta[\'ca-nstab-wp\'] = new Array(\'a\',\'View the project page\');
1696 ta[\'ca-nstab-image\'] = new Array(\'c\',\'View the image page\');
1697 ta[\'ca-nstab-mediawiki\'] = new Array(\'c\',\'View the system message\');
1698 ta[\'ca-nstab-template\'] = new Array(\'c\',\'View the template\');
1699 ta[\'ca-nstab-help\'] = new Array(\'c\',\'View the help page\');
1700 ta[\'ca-nstab-category\'] = new Array(\'c\',\'View the category page\');
1701 ',
1702
1703 # image deletion
1704 'deletedrevision' => 'Deleted old revision $1.',
1705
1706 # browsing diffs
1707 'previousdiff' => '&larr; Go to previous diff',
1708 'nextdiff' => 'Go to next diff &rarr;',
1709
1710 'imagemaxsize' => 'Limit images on image description pages to: ',
1711 'showbigimage' => 'Download high resolution version ($1x$2, $3 KB)',
1712
1713 'newimages' => 'New images gallery',
1714 'noimages' => 'Nothing to see.',
1715
1716 'sitesettings' => 'Site Settings',
1717 'sitesettings-features' => 'Features',
1718 'sitesettings-permissions' => 'Permissions',
1719 'sitesettings-memcached' => 'Memcache Daemon',
1720 'sitesettings-debugging' => 'Debugging',
1721 'sitesettings-caching' => 'Page caching',
1722 'sitesettings-wgShowIPinHeader' => 'Show IP in header (for non-logged in users)',
1723 'sitesettings-wgUseDatabaseMessages' => 'Use database messages for user interface labels',
1724 'sitesettings-wgUseCategoryMagic' => 'Enable categories',
1725 'sitesettings-wgUseCategoryBrowser' => 'Enable experimental dmoz-like category browsing. Outputs things like: Encyclopedia > Music > Style of Music > Jazz',
1726 'sitesettings-wgHitcounterUpdateFreq' => 'Hit counter update frequency',
1727 'sitesettings-wgAllowExternalImages' => 'Allow to include external images into articles',
1728 'sitesettings-permissions-readonly' => 'Maintenance mode: Disable write access',
1729 'sitesettings-permissions-whitelist' => 'Whitelist mode',
1730 'sitesettings-permissions-banning' => 'User banning',
1731 'sitesettings-permissions-miser' => 'Performance settings',
1732 'sitesettings-wgReadOnly' => 'Readonly mode',
1733 'sitesettings-wgReadOnlyFile' => 'Readonly message file',
1734 'sitesettings-wgWhitelistEdit' => 'Users must be logged in to edit',
1735 'sitesettings-wgWhitelistRead' => 'Anonymous users may only read these pages:',
1736 'sitesettings-wgWhitelistAccount-user' => 'Users may create accounts themself',
1737 'sitesettings-wgWhitelistAccount-sysop' => 'Sysops may create accounts for users',
1738 'sitesettings-wgWhitelistAccount-developer' => 'Developers may create accounts for users',
1739 'sitesettings-wgSysopUserBans' => 'Sysops may block logged-in users',
1740 'sitesettings-wgSysopRangeBans' => 'Sysops may block IP-ranges',
1741 'sitesettings-wgDefaultBlockExpiry' => 'By default, blocks expire after:',
1742 'sitesettings-wgMiserMode' => 'Enable miser mode, which disables most "expensive" features',
1743 'sitesettings-wgDisableQueryPages' => 'When in miser mode, disable all query pages, not only "expensive" ones',
1744 'sitesettings-wgUseWatchlistCache' => 'Generate a watchlist once every hour or so',
1745 'sitesettings-wgWLCacheTimeout' => 'The hour or so mentioned above (in seconds):',
1746 'sitesettings-cookies' => 'Cookies',
1747 'sitesettings-performance' => 'Performance',
1748 'sitesettings-images' => 'Images',
1749
1750 # short names for language variants used for language conversion links.
1751 # to disable showing a particular link, set it to 'disable', e.g.
1752 # 'variantname-zh-sg' => 'disable',
1753 'variantname-zh-cn' => 'cn',
1754 'variantname-zh-tw' => 'tw',
1755 'variantname-zh-hk' => 'hk',
1756 'variantname-zh-sg' => 'sg',
1757 'variantname-zh' => 'zh',
1758
1759 # Chinese conversion table
1760 'zhconversiontable' => '-{}-',
1761
1762 # labels for User: and Title: on Special:Log pages
1763 'specialloguserlabel' => 'User: ',
1764 'speciallogtitlelabel' => 'Title: ',
1765
1766 );
1767
1768 #--------------------------------------------------------------------------
1769 # Internationalisation code
1770 #--------------------------------------------------------------------------
1771
1772 class Language {
1773 function Language(){
1774 # Copies any missing values in the specified arrays from En to the current language
1775 $fillin = array( 'wgSysopSpecialPages', 'wgValidSpecialPages', 'wgDeveloperSpecialPages' );
1776 $name = get_class( $this );
1777 if( strpos( $name, 'language' ) == 0){
1778 $lang = ucfirst( substr( $name, 8 ) );
1779 foreach( $fillin as $arrname ){
1780 $langver = "{$arrname}{$lang}";
1781 $enver = "{$arrname}En";
1782 if( ! isset( $GLOBALS[$langver] ) || ! isset( $GLOBALS[$enver] ))
1783 continue;
1784 foreach($GLOBALS[$enver] as $spage => $text){
1785 if( ! isset( $GLOBALS[$langver][$spage] ) )
1786 $GLOBALS[$langver][$spage] = $text;
1787 }
1788 }
1789 }
1790 }
1791
1792 function getDefaultUserOptions () {
1793 global $wgDefaultUserOptionsEn ;
1794 return $wgDefaultUserOptionsEn ;
1795 }
1796
1797 function getBookstoreList () {
1798 global $wgBookstoreListEn ;
1799 return $wgBookstoreListEn ;
1800 }
1801
1802 function getNamespaces() {
1803 global $wgNamespaceNamesEn;
1804 return $wgNamespaceNamesEn;
1805 }
1806
1807 function getNsText( $index ) {
1808 global $wgNamespaceNamesEn;
1809 return $wgNamespaceNamesEn[$index];
1810 }
1811
1812 function getNsIndex( $text ) {
1813 global $wgNamespaceNamesEn;
1814
1815 foreach ( $wgNamespaceNamesEn as $i => $n ) {
1816 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
1817 }
1818 return false;
1819 }
1820
1821 # short names for language variants used for language conversion links.
1822 # so far only used by zh
1823 function getVariantname( $code ) {
1824 return wfMsg( 'variantname-' . $code );
1825 }
1826
1827 function specialPage( $name ) {
1828 return $this->getNsText(NS_SPECIAL) . ':' . $name;
1829 }
1830
1831 function getQuickbarSettings() {
1832 global $wgQuickbarSettingsEn;
1833 return $wgQuickbarSettingsEn;
1834 }
1835
1836 function getSkinNames() {
1837 global $wgSkinNamesEn;
1838 return $wgSkinNamesEn;
1839 }
1840
1841 function getMathNames() {
1842 global $wgMathNamesEn;
1843 return $wgMathNamesEn;
1844 }
1845
1846 function getDateFormats() {
1847 global $wgDateFormatsEn;
1848 return $wgDateFormatsEn;
1849 }
1850
1851 function getValidationTypes() {
1852 global $wgValidationTypesEn;
1853 return $wgValidationTypesEn;
1854 }
1855
1856 function getUserToggles() {
1857 global $wgUserTogglesEn;
1858 return $wgUserTogglesEn;
1859 }
1860
1861 function getUserToggle( $tog ) {
1862 return wfMsg("tog-".$tog);
1863 }
1864
1865 function getLanguageNames() {
1866 global $wgLanguageNamesEn;
1867 return $wgLanguageNamesEn;
1868 }
1869
1870 function getLanguageName( $code ) {
1871 global $wgLanguageNamesEn;
1872 if ( ! array_key_exists( $code, $wgLanguageNamesEn ) ) {
1873 return "";
1874 }
1875 return $wgLanguageNamesEn[$code];
1876 }
1877
1878 function getMonthName( $key ) {
1879 global $wgMonthNamesEn, $wgContLang;
1880 // see who called us and use the correct message function
1881 if( get_class( $wgContLang->getLangObj() ) == get_class( $this ) )
1882 return wfMsgForContent($wgMonthNamesEn[$key-1]);
1883 else
1884 return wfMsg($wgMonthNamesEn[$key-1]);
1885 }
1886
1887 /* by default we just return base form */
1888 function getMonthNameGen( $key ) {
1889 return $this->getMonthName( $key );
1890 }
1891
1892 function getMonthAbbreviation( $key ) {
1893 global $wgMonthAbbreviationsEn, $wgContLang;
1894 // see who called us and use the correct message function
1895 if( get_class( $wgContLang->getLangObj() ) == get_class( $this ) )
1896 return wfMsgForContent(@$wgMonthAbbreviationsEn[$key-1]);
1897 else
1898 return wfMsg(@$wgMonthAbbreviationsEn[$key-1]);
1899 }
1900
1901 function getWeekdayName( $key ) {
1902 global $wgWeekdayNamesEn, $wgContLang;
1903 // see who called us and use the correct message function
1904 if( get_class( $wgContLang->getLangObj() ) == get_class( $this ) )
1905 return wfMsgForContent($wgWeekdayNamesEn[$key-1]);
1906 else
1907 return wfMsg($wgWeekdayNamesEn[$key-1]);
1908 }
1909
1910 function userAdjust( $ts, $tz = false ) {
1911 global $wgUser, $wgLocalTZoffset;
1912
1913 if (!$tz) {
1914 $tz = $wgUser->getOption( 'timecorrection' );
1915 }
1916
1917 if ( $tz === '' ) {
1918 $hrDiff = isset( $wgLocalTZoffset ) ? $wgLocalTZoffset : 0;
1919 $minDiff = 0;
1920 } elseif ( strpos( $tz, ':' ) !== false ) {
1921 $tzArray = explode( ':', $tz );
1922 $hrDiff = intval($tzArray[0]);
1923 $minDiff = intval($hrDiff < 0 ? -$tzArray[1] : $tzArray[1]);
1924 } else {
1925 $hrDiff = intval( $tz );
1926 }
1927 if ( 0 == $hrDiff && 0 == $minDiff ) { return $ts; }
1928
1929 $t = mktime( (
1930 (int)substr( $ts, 8, 2) ) + $hrDiff, # Hours
1931 (int)substr( $ts, 10, 2 ) + $minDiff, # Minutes
1932 (int)substr( $ts, 12, 2 ), # Seconds
1933 (int)substr( $ts, 4, 2 ), # Month
1934 (int)substr( $ts, 6, 2 ), # Day
1935 (int)substr( $ts, 0, 4 ) ); #Year
1936 return date( 'YmdHis', $t );
1937 }
1938
1939 function date( $ts, $adj = false, $format = MW_DATE_USER_FORMAT, $timecorrection = false ) {
1940 global $wgAmericanDates, $wgUser, $wgUseDynamicDates;
1941
1942 $ts=wfTimestamp(TS_MW,$ts);
1943
1944 if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }
1945
1946 if ( $wgUseDynamicDates ) {
1947 if ( $format == MW_DATE_USER_FORMAT ) {
1948 $datePreference = $wgUser->getOption( 'date' );
1949 } else {
1950 $options = $this->getDefaultUserOptions();
1951 $datePreference = $options['date'];
1952 }
1953 if ( $datePreference == 0 ) {
1954 $datePreference = $wgAmericanDates ? 1 : 2;
1955 }
1956 } else {
1957 $datePreference = $wgAmericanDates ? 1 : 2;
1958 }
1959
1960 $month = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) );
1961 $day = $this->formatNum( 0 + substr( $ts, 6, 2 ) );
1962 $year = $this->formatNum( substr( $ts, 0, 4 ) );
1963
1964 switch( $datePreference ) {
1965 case 1: return "$month $day, $year";
1966 case 2: return "$day $month $year";
1967 default: return "$year $month $day";
1968 }
1969 }
1970
1971 function time( $ts, $adj = false, $seconds = false, $timecorrection = false ) {
1972 $ts=wfTimestamp(TS_MW,$ts);
1973
1974 if ( $adj ) { $ts = $this->userAdjust( $ts, $timecorrection ); }
1975
1976 $t = substr( $ts, 8, 2 ) . ':' . substr( $ts, 10, 2 );
1977 if ( $seconds ) {
1978 $t .= ':' . substr( $ts, 12, 2 );
1979 }
1980 return $this->formatNum( $t );
1981 }
1982
1983 function timeanddate( $ts, $adj = false, $format = MW_DATE_USER_FORMAT, $timecorrection = false, $dateandtime = false) {
1984 $ts=wfTimestamp(TS_MW,$ts);
1985 if ($dateandtime) {
1986 $ret = $this->date( $ts, $adj, $format, $timecorrection ) . ', ' . $this->time( $ts, $adj, false, $timecorrection );
1987 } else {
1988 $ret = $this->time( $ts, $adj, false, $timecorrection ) . ', ' . $this->date( $ts, $adj, $format, $timecorrection );
1989 }
1990 return $ret;
1991 }
1992
1993 function rfc1123( $ts ) {
1994 return date( 'D, d M Y H:i:s T', $ts );
1995 }
1996
1997 function getValidSpecialPages() {
1998 global $wgValidSpecialPagesEn;
1999 return $wgValidSpecialPagesEn;
2000 }
2001
2002 function getSysopSpecialPages() {
2003 global $wgSysopSpecialPagesEn;
2004 return $wgSysopSpecialPagesEn;
2005 }
2006
2007 function getDeveloperSpecialPages() {
2008 global $wgDeveloperSpecialPagesEn;
2009 return $wgDeveloperSpecialPagesEn;
2010 }
2011
2012 function getMessage( $key ) {
2013 global $wgAllMessagesEn;
2014 return @$wgAllMessagesEn[$key];
2015 }
2016
2017 function getAllMessages() {
2018 global $wgAllMessagesEn;
2019 return $wgAllMessagesEn;
2020 }
2021
2022 function iconv( $in, $out, $string ) {
2023 # For most languages, this is a wrapper for iconv
2024 return iconv( $in, $out, $string );
2025 }
2026
2027 function ucfirst( $string ) {
2028 # For most languages, this is a wrapper for ucfirst()
2029 return ucfirst( $string );
2030 }
2031
2032 function lcfirst( $s ) {
2033 return strtolower( $s{0} ). substr( $s, 1 );
2034 }
2035
2036 function checkTitleEncoding( $s ) {
2037 global $wgInputEncoding;
2038
2039 # Check for UTF-8 URLs; Internet Explorer produces these if you
2040 # type non-ASCII chars in the URL bar or follow unescaped links.
2041 $ishigh = preg_match( '/[\x80-\xff]/', $s);
2042 $isutf = ($ishigh ? preg_match( '/^([\x00-\x7f]|[\xc0-\xdf][\x80-\xbf]|' .
2043 '[\xe0-\xef][\x80-\xbf]{2}|[\xf0-\xf7][\x80-\xbf]{3})+$/', $s ) : true );
2044
2045 if( ($wgInputEncoding != 'utf-8') and $ishigh and $isutf )
2046 return @iconv( 'UTF-8', $wgInputEncoding, $s );
2047
2048 if( ($wgInputEncoding == 'utf-8') and $ishigh and !$isutf )
2049 return utf8_encode( $s );
2050
2051 # Other languages can safely leave this function, or replace
2052 # it with one to detect and convert another legacy encoding.
2053 return $s;
2054 }
2055
2056 function stripForSearch( $in ) {
2057 # Some languages have special punctuation to strip out
2058 # or characters which need to be converted for MySQL's
2059 # indexing to grok it correctly. Make such changes here.
2060 return strtolower( $in );
2061 }
2062
2063 function convertForSearchResult( $termsArray ) {
2064 # some languages, e.g. Chinese, need to do a conversion
2065 # in order for search results to be displayed correctly
2066 return $termsArray;
2067 }
2068
2069 function firstChar( $s ) {
2070 # Get the first character of a string. In ASCII, return
2071 # first byte of the string. UTF8 and others have to
2072 # overload this.
2073 return $s[0];
2074 }
2075
2076 function setAltEncoding() {
2077 # Some languages may have an alternate char encoding option
2078 # (Esperanto X-coding, Japanese furigana conversion, etc)
2079 # If 'altencoding' is checked in user prefs, this gives a
2080 # chance to swap out the default encoding settings.
2081 #global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
2082 }
2083
2084 function recodeForEdit( $s ) {
2085 # For some languages we'll want to explicitly specify
2086 # which characters make it into the edit box raw
2087 # or are converted in some way or another.
2088 # Note that if wgOutputEncoding is different from
2089 # wgInputEncoding, this text will be further converted
2090 # to wgOutputEncoding.
2091 global $wgInputEncoding, $wgEditEncoding;
2092 if( $wgEditEncoding == '' or
2093 $wgEditEncoding == $wgInputEncoding ) {
2094 return $s;
2095 } else {
2096 return $this->iconv( $wgInputEncoding, $wgEditEncoding, $s );
2097 }
2098 }
2099
2100 function recodeInput( $s ) {
2101 # Take the previous into account.
2102 global $wgInputEncoding, $wgOutputEncoding, $wgEditEncoding;
2103 if($wgEditEncoding != "") {
2104 $enc = $wgEditEncoding;
2105 } else {
2106 $enc = $wgOutputEncoding;
2107 }
2108 if( $enc == $wgInputEncoding ) {
2109 return $s;
2110 } else {
2111 return $this->iconv( $enc, $wgInputEncoding, $s );
2112 }
2113 }
2114
2115 # For right-to-left language support
2116 function isRTL() { return false; }
2117
2118 # To allow "foo[[bar]]" to extend the link over the whole word "foobar"
2119 function linkPrefixExtension() { return false; }
2120
2121
2122 function &getMagicWords() {
2123 global $wgMagicWordsEn;
2124 return $wgMagicWordsEn;
2125 }
2126
2127 # Fill a MagicWord object with data from here
2128 function getMagic( &$mw ) {
2129 $raw =& $this->getMagicWords();
2130 if( !isset( $raw[$mw->mId] ) ) {
2131 # Fall back to English if local list is incomplete
2132 $raw =& Language::getMagicWords();
2133 }
2134 $rawEntry = $raw[$mw->mId];
2135 $mw->mCaseSensitive = $rawEntry[0];
2136 $mw->mSynonyms = array_slice( $rawEntry, 1 );
2137 }
2138
2139 # Italic is unsuitable for some languages
2140 function emphasize( $text ) {
2141 return '<em>'.$text.'</em>';
2142 }
2143
2144
2145 # Normally we use the plain ASCII digits. Some languages such as Arabic will
2146 # want to output numbers using script-appropriate characters: override this
2147 # function with a translator. See LanguageAr.php for an example.
2148 function formatNum( $number ) {
2149 return $number;
2150 }
2151
2152 function listToText( $l ) {
2153 $s = '';
2154 $m = count($l) - 1;
2155 for ($i = $m; $i >= 0; $i--) {
2156 if ($i == $m) {
2157 $s = $l[$i];
2158 } else if ($i == $m - 1) {
2159 $s = $l[$i] . ' ' . $this->getMessage('and') . ' ' . $s;
2160 } else {
2161 $s = $l[$i] . ', ' . $s;
2162 }
2163 }
2164 return $s;
2165 }
2166
2167 # Crop a string from the beginning or end to a certain number of bytes.
2168 # (Bytes are used because our storage has limited byte lengths for some
2169 # columns in the database.) Multibyte charsets will need to make sure that
2170 # only whole characters are included!
2171 #
2172 # $length does not include the optional ellipsis.
2173 # If $length is negative, snip from the beginning
2174 function truncate( $string, $length, $ellipsis = '' ) {
2175 if( $length == 0 ) {
2176 return $ellipsis;
2177 }
2178 if ( strlen( $string ) <= abs( $length ) ) {
2179 return $string;
2180 }
2181 if( $length > 0 ) {
2182 $string = substr( $string, 0, $length );
2183 return $string . $ellipsis;
2184 } else {
2185 $string = substr( $string, $length );
2186 return $ellipsis . $string;
2187 }
2188 }
2189
2190 # Grammatical transformations, needed for inflected languages
2191 # Invoked by putting {{grammar:case|word}} in a message
2192 function convertGrammar( $word, $case ) {
2193 return $word;
2194 }
2195
2196 # languages like Chinese need to be segmented in order for the diff
2197 # to be of any use
2198 function segmentForDiff( $text ) {
2199 return $text;
2200 }
2201 # and unsegment to show the result
2202 function unsegmentForDiff( $text ) {
2203 return $text;
2204 }
2205
2206 # convert text to different variants of a language.
2207 function convert( $text , $isTitle=false) {
2208 return $text;
2209 }
2210
2211 # returns a list of language variants for conversion.
2212 # right now mainly used in the Chinese conversion
2213 function getVariants() {
2214 $lang = strtolower( substr( get_class( $this ), 8 ) );
2215 return array( $lang );
2216 }
2217
2218 # in case some variant is not defined in the markup, we need
2219 # to have some fallback. for example, in zh, normally people
2220 # will define zh-cn and zh-tw, but less so for zh-sg or zh-hk.
2221 # when zh-sg is preferred but not defined, we will pick zh-cn
2222 # in this case. right now this is only used by zh.
2223 function getVariantFallback( $v ) {
2224 return false;
2225 }
2226
2227 function getPreferredVariant() {
2228 return strtolower( substr( get_class( $this ), 8 ) );
2229 }
2230
2231 /* if a language supports multiple variants, it is
2232 possible that non-existing link in one variant
2233 actually exists in another variant. this function
2234 tries to find it. See e.g. LanguageZh.php
2235
2236 */
2237 function findVariantLink( &$link, &$nt ) {
2238 return;
2239 }
2240
2241 /*
2242 returns an array of extra options used by User::getPageRenderHash()
2243 */
2244 function getExtraHashOptions() {
2245 return '';
2246 }
2247
2248 /**
2249 * A regular expression to match legal word-trailing characters
2250 * which should be merged onto a link of the form [[foo]]bar.
2251 * FIXME
2252 *
2253 * @return string
2254 * @access public
2255 */
2256 function linkTrail() {
2257 $trail = $this->getMessage( 'linktrail' );
2258 if( empty( $trail ) ) $trail = Language::linkTrail();
2259 return $trail;
2260 }
2261
2262 function getLangObj() {
2263 return $this;
2264 }
2265
2266 }
2267
2268 # This should fail gracefully if there's not a localization available
2269 wfSuppressWarnings();
2270 include_once( 'Language' . str_replace( '-', '_', ucfirst( $wgLanguageCode ) ) . '.php' );
2271 wfRestoreWarnings();
2272
2273 }
2274 ?>